:root{color-scheme:dark;--bg:#090a0c;--surface:#121417;--surface2:#17191d;--line:#292c31;--line2:#363a40;--text:#f7f7f8;--muted:#969aa3;--soft:#b6bac2;--silver:#e1e3e7;--accent:#f1f2f4;--font:'Anuphan',system-ui,sans-serif;--latin:'Outfit','Anuphan',sans-serif;--r:18px;--ease:cubic-bezier(.2,.75,.2,1)}
*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;min-width:320px;min-height:100vh;background:var(--bg);color:var(--text);font:400 14px/1.65 var(--font);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}img,svg{display:block}svg{width:20px;height:20px;flex:none}button:disabled{cursor:not-allowed;opacity:.45}input,select,textarea{min-width:0}input:-webkit-autofill{-webkit-text-fill-color:var(--text);transition:background-color 9999s}::selection{background:#aeb2bc;color:#090a0c}[hidden]{display:none!important}:focus-visible{outline:2px solid #e7e7e9;outline-offset:3px}.shell{width:min(1276px,calc(100% - 72px));margin-inline:auto}.ambient{position:fixed;z-index:-1;pointer-events:none;filter:blur(60px);opacity:.35}.ambient-one{top:-160px;right:2%;width:470px;height:360px;background:radial-gradient(ellipse,#44474e,transparent 69%)}.ambient-two{bottom:15%;left:-160px;width:390px;height:280px;background:radial-gradient(ellipse,#22262c,transparent 65%)}
.site-header{height:77px;position:sticky;top:0;z-index:40;background:rgba(9,10,12,.94);border-bottom:1px solid #272a2e;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.header-inner{height:100%;display:flex;align-items:center;gap:32px}.brand{display:inline-flex;align-items:center;gap:9px;flex-shrink:0}.brand img{width:55px;height:47px;object-fit:contain;filter:drop-shadow(0 4px 14px #ffffff15)}.brand span{display:flex;align-items:center}.brand strong{font:800 18px/1.05 var(--latin);letter-spacing:-.5px}.desktop-nav{display:flex;align-items:center;justify-content:center;flex:1;gap:7px}.desktop-nav a{padding:12px 17px;border-radius:9px;font-weight:600;font-size:13px;color:#9fa3ab;transition:color .2s,background .2s}.desktop-nav a:hover,.desktop-nav a.active{color:#fff;background:#ffffff0d}.desktop-nav a.active{position:relative}.desktop-nav a.active:after{position:absolute;bottom:3px;left:21px;right:21px;height:2px;content:'';background:#e5e5e8;border-radius:4px}.header-actions{display:flex;align-items:center;gap:11px;margin-left:auto}.connection{display:flex;align-items:center;gap:7px;color:#8d919a;font:700 10px/1 var(--latin);letter-spacing:1.3px;margin-right:4px}.connection-dot{width:6px;height:6px;border-radius:50%;background:#7c858e;box-shadow:0 0 8px #9499a342}.connection.ready .connection-dot{background:#9ae3b6;box-shadow:0 0 10px #9ae3b680}.connection.error .connection-dot{background:#ff9b9b;box-shadow:0 0 10px #ff9b9b80}.icon-button{height:41px;width:42px;border:1px solid transparent;background:transparent;color:#c9cdd4;border-radius:11px;display:grid;place-items:center;position:relative;transition:.2s}.icon-button:hover{color:#fff;border-color:#3b3f47;background:#1a1c20}.cart-badge{position:absolute;right:-1px;top:-3px;border:2px solid #090a0c;background:#f2f3f5;color:#111;font:700 10px var(--latin);border-radius:11px;padding:1px 5px}.login-shortcut{min-width:108px;height:40px;display:flex;justify-content:center;align-items:center;gap:9px;background:linear-gradient(125deg,#24262b,#181a1e);border:1px solid #3f4248;border-radius:11px;padding:0 13px;font-size:12px;font-weight:700;white-space:nowrap;transition:background .2s,transform .2s}.login-shortcut svg{width:17px;height:17px}.login-shortcut:hover{background:#2c2f35;transform:translateY(-1px)}.menu-button,.mobile-nav{display:none}.main{min-height:calc(100vh - 137px);padding-top:27px;padding-bottom:55px}.site-footer{border-top:1px solid #202227;background:#0b0c0e}.footer-inner{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:15px;font:600 10px var(--latin);letter-spacing:1px;color:#626771}.loading-screen{min-height:45vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:var(--muted)}.spinner{width:26px;height:26px;border:2px solid #444951;border-top-color:#fff;border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.page-in{animation:enter .33s var(--ease) both}@keyframes enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
/* surfaces */
.eyebrow{color:#9c9fa8;font:700 10px/1.6 var(--latin);letter-spacing:2.2px}.muted{color:var(--muted)}.btn{border:1px solid var(--line2);border-radius:11px;height:46px;padding:0 19px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:700;font-size:13px;white-space:nowrap;transition:transform .21s var(--ease),background .21s,border-color .21s,box-shadow .21s}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn-primary{background:linear-gradient(145deg,#fff,#c9ccd2 80%,#e5e7eb);border-color:#fff;color:#111215;box-shadow:inset 0 1px #fff,0 8px 30px #d5d9e011}.btn-primary:hover:not(:disabled){box-shadow:inset 0 1px #fff,0 10px 25px #dbdfe32a}.btn-ghost{background:#181a1e;color:#e5e7e9}.btn-ghost:hover{background:#22252a;border-color:#555a62}.btn-text{background:transparent;border-color:transparent;color:#b8bdc5;padding-inline:10px}.btn-small{height:37px;padding-inline:13px;font-size:12px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:21px}.section-head h1,.section-head h2{margin:3px 0 0;font-size:28px;line-height:1.3;letter-spacing:-.8px;font-weight:750}.section-head p{margin:7px 0 0;color:#9297a0}.page-title{font-size:30px;line-height:1.25;font-weight:750;letter-spacing:-1.1px;margin:5px 0 0}.field{display:flex;flex-direction:column;gap:8px}.field label{color:#c7cad0;font-size:12px;font-weight:650}.field small{color:#7e838c;font-size:11px}.input{height:47px;background:#111316;border:1px solid #30343a;border-radius:10px;color:#f2f3f4;outline:none;width:100%;padding:0 15px;transition:border-color .2s,background .2s,box-shadow .2s}.input::placeholder{color:#656a73}.input:focus{border-color:#858c97;box-shadow:0 0 0 3px #b4bdca15;background:#171a1f}.input-area{height:auto;min-height:95px;padding:12px 15px;resize:vertical}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-stack{display:grid;gap:17px}.check-line{display:flex;gap:9px;align-items:center;color:#b3b8c0;font-size:12px}.check-line input{accent-color:#dfe2e6}.inline-error{padding:10px 12px;background:#4b272731;color:#ffc6c6;border:1px solid #883b3b77;border-radius:10px;font-size:12px;margin-top:13px}.inline-success{padding:10px 12px;background:#305c3931;color:#b8f0cb;border:1px solid #3d76555d;border-radius:10px;font-size:12px}.notice{border:1px solid #454a53;border-radius:13px;background:#16191e;padding:14px 17px;font-size:12px;color:#bfc4cc}.notice strong{color:#fff}.glass{background:linear-gradient(146deg,#1c1e22,#111316 65%);border:1px solid #2c3036;border-radius:18px}.toast-area{position:fixed;right:20px;bottom:20px;z-index:100;width:min(390px,calc(100% - 40px));display:grid;gap:10px;pointer-events:none}.toast{pointer-events:auto;border:1px solid #626771;background:#202329;color:#f2f2f3;box-shadow:0 17px 40px #0009;padding:12px 16px;border-radius:13px;font-size:12px;animation:enter .22s ease both}.toast.error{border-color:#9f5555;color:#ffd5d5}
/* HOME */
.hero-banner{display:block;position:relative;overflow:hidden;border-radius:20px;border:1px solid #5b6069;background:#15161a;box-shadow:0 20px 54px #0004;aspect-ratio:3.06/1}.hero-banner img{width:100%;height:100%;object-fit:cover;transition:transform .65s var(--ease);transform:scale(1.003)}.hero-banner:hover img{transform:scale(1.025)}.hero-banner:after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px #ffffff13}.home-shop{margin-top:43px}.home-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between;border-bottom:1px solid #282b30;padding-bottom:18px;margin-bottom:23px}.home-toolbar strong{font-size:20px;font-weight:700}.category-pills,.filters{display:flex;gap:8px;flex-wrap:wrap}.pill{border:1px solid #363a40;background:#17191c;color:#aab0b7;padding:8px 13px;border-radius:8px;white-space:nowrap;font-size:12px;font-weight:600;transition:background .18s,color .18s,border-color .18s}.pill.active,.pill:hover{background:#e7e8eb;color:#101114;border-color:#d5d6d9}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{overflow:hidden;border:1px solid #272c33;border-radius:15px;background:#141619;transition:transform .22s var(--ease),border-color .22s,box-shadow .22s}.product-card:hover{transform:translateY(-4px);border-color:#666a73;box-shadow:0 16px 36px #0005}.product-art{height:auto;aspect-ratio:1.22/1;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at 30% 20%,#444a50,#22252b 58%,#101216)}.product-art img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.product-card:hover .product-art img{transform:scale(1.045)}.art-glyph{font:800 clamp(45px,6vw,85px)/1 var(--latin);color:#dce0e5;text-shadow:0 10px 22px #0007}.product-tag{position:absolute;top:12px;left:12px;font:700 10px var(--latin);background:#101114de;padding:5px 8px;border:1px solid #929aa244;border-radius:6px;color:#f3f4f4;letter-spacing:.5px}.product-info{padding:16px}.product-meta{display:flex;justify-content:space-between;align-items:center;gap:6px;color:#8e939b;font-size:11px}.stock-mark{display:inline-flex;gap:6px;align-items:center;color:#9eb9a8}.stock-mark:before{content:'';width:5px;height:5px;background:#96c6a7;border-radius:50%}.stock-mark.out{color:#d5a5a5}.stock-mark.out:before{background:#d5a5a5}.product-info h3{font-weight:650;font-size:15px;min-height:39px;margin:10px 0 18px;line-height:1.4}.product-bottom{display:flex;justify-content:space-between;align-items:center;gap:9px}.price{font:700 22px/1 var(--latin);letter-spacing:-.4px}.product-add{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;color:#0f1114;background:#e5e6e9;border:1px solid #fff;transition:.2s}.product-add:hover:not(:disabled){background:#fff;transform:scale(1.06)}.product-add svg{width:18px;height:18px}.section-link{font-size:12px;font-weight:650;color:#c7cbd1;display:flex;gap:7px;align-items:center}.section-link svg{width:15px;height:15px}.empty-state{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;padding:52px 15px;border:1px dashed #363a40;border-radius:17px;background:#121417}.empty-state .empty-mark{font:700 30px var(--latin);color:#858c97}.empty-state h3{margin:0;font-size:18px}.empty-state p{margin:0 0 9px;font-size:12px;color:#969aa3;max-width:390px}.shop-top{padding-top:17px}.shop-tools{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:24px 0 20px}.search-wrap{position:relative;width:min(410px,100%)}.search-wrap svg{position:absolute;left:14px;top:14px;width:18px;height:18px;color:#8d929b}.search-wrap input{padding-left:42px}.sort-select{width:155px}.shop-count{font:600 12px var(--latin);color:#8d929b;letter-spacing:.5px;margin-bottom:14px}
/* DETAIL, CART, ORDERS */
.breadcrumb{display:flex;align-items:center;gap:9px;color:#8d9199;font-size:12px;margin:13px 0 25px}.breadcrumb a:hover{color:#fff}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.detail-visual{border:1px solid #41464e;border-radius:19px;aspect-ratio:1.19;background:radial-gradient(circle at 30% 20%,#3d4249,#15171a 65%);display:flex;align-items:center;justify-content:center;overflow:hidden}.detail-visual img{width:100%;height:100%;object-fit:cover}.detail-visual .art-glyph{font-size:120px}.detail-info h1{font-size:clamp(27px,3.4vw,49px);line-height:1.2;margin:11px 0 15px;letter-spacing:-1px}.detail-info p{color:#a9adb5;line-height:1.95}.detail-info hr{border:0;border-top:1px solid #30333a;margin:30px 0}.detail-price{font:750 39px var(--latin);margin:18px 0}.detail-info .btn{min-width:220px}.detail-notice{font-size:11px!important;color:#828791!important;margin-top:15px}.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:24px;align-items:start;margin-top:22px}.cart-lines{display:grid;gap:11px}.cart-line{display:grid;grid-template-columns:91px 1fr auto;gap:16px;align-items:center;border:1px solid #30343a;padding:12px;border-radius:15px;background:#16181c}.cart-thumbnail{border-radius:10px;overflow:hidden;aspect-ratio:1.05;background:linear-gradient(140deg,#4e535b,#131518);display:flex;align-items:center;justify-content:center}.cart-thumbnail img{height:100%;width:100%;object-fit:cover}.cart-thumbnail .art-glyph{font-size:31px}.cart-line h3{margin:0;font-size:14px}.cart-line small{color:#9297a0;font-size:11px}.qty{display:inline-flex;align-items:center;gap:12px;border:1px solid #40444c;border-radius:8px;margin-top:12px;padding:3px}.qty button{border:0;background:transparent;color:#f6f6f6;font-size:17px;width:24px;height:24px}.cart-line-end{display:grid;justify-items:end;gap:13px}.cart-line-end strong{font:700 20px var(--latin)}.trash-button{border:0;color:#969ca5;background:transparent;font-size:11px}.summary{padding:21px;position:sticky;top:96px}.summary h3{margin:0 0 20px;font-size:16px}.summary-row{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#b1b6bd;margin:12px 0}.summary-row.total{padding-top:18px;border-top:1px solid #30343a;color:#fff;font-weight:800;font-size:17px}.summary .btn{width:100%;margin:13px 0}.summary small{color:#828791;font-size:11px;display:block}.order-list{display:grid;gap:15px;max-width:920px;margin:25px auto}.order-card{padding:19px 23px}.order-top{display:flex;align-items:start;justify-content:space-between;gap:14px}.order-top strong{font:750 14px var(--latin)}.order-top small{display:block;font-size:11px;color:#9297a0;margin-top:4px}.order-items{margin:15px 0;border-top:1px solid #343840;border-bottom:1px solid #343840;padding:12px 0;color:#b8bdc3;font-size:12px}.order-items p{margin:6px 0}.order-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.status{font-size:11px;font-weight:750;border:1px solid #7d858f;padding:5px 9px;border-radius:6px;color:#cbd1d8}.status.pending{border-color:#877b59;color:#e4d29b}.status.completed{border-color:#587d67;color:#a8dfb8}.status.cancelled{border-color:#804d54;color:#e0a9b3}.account-view{max-width:760px;margin:30px auto}.profile-card{display:flex;align-items:center;gap:20px;padding:27px}.avatar{width:68px;height:68px;border-radius:16px;background:#dbdee3;color:#111;display:grid;place-items:center;font:800 28px var(--latin)}.profile-card h1{margin:0;font-size:23px}.profile-card p{margin:2px 0;color:#8b929b}.account-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.account-links a,.account-links button{min-height:85px;text-align:left;display:flex;align-items:center;gap:15px;padding:18px;font-size:14px;font-weight:600;color:#dce0e5}.account-links a:hover,.account-links button:hover{border-color:#6c737e}.account-links svg{color:#a7b0bd}
/* AUTH */
.auth-frame{max-width:1030px;margin:18px auto 5px;min-height:605px;display:grid;grid-template-columns:.96fr 1.04fr;overflow:hidden;border:1px solid #343943;border-radius:23px;background:#121417;box-shadow:0 36px 95px #0006}.auth-showcase{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:605px;padding:36px 37px;overflow:hidden;background:radial-gradient(ellipse at 50% 42%,#42474e 0,#1c1f24 34%,#0c0d10 76%);border-right:1px solid #4c505868}.auth-showcase:before{content:'';position:absolute;width:390px;height:390px;border:1px solid #a8b0bf28;border-radius:50%;top:91px;left:calc(50% - 195px);box-shadow:0 0 0 56px #c8d0de08,0 0 0 112px #c8d0de05;pointer-events:none}.auth-showcase-top,.auth-showcase-bottom{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;font:700 10px var(--latin);letter-spacing:1.5px;color:#b8bec8}.auth-showcase-top span:last-child{color:#747b85}.auth-logo-display{position:relative;z-index:2;width:82%;max-width:380px;align-self:center;filter:drop-shadow(0 26px 29px #0008);animation:float-logo 7s ease-in-out infinite}.auth-showcase-bottom small{font-size:10px;letter-spacing:.4px;color:#a4abb6}.auth-showcase-bottom .cross{font:400 26px var(--latin)}@keyframes float-logo{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}.auth-panel{padding:37px clamp(24px,4vw,64px) 36px;display:flex;flex-direction:column;justify-content:center;position:relative}.auth-back{position:absolute;top:31px;left:clamp(24px,4vw,64px);font-size:12px;color:#8d929b;display:inline-flex;align-items:center;gap:7px}.auth-back:hover{color:#fff}.auth-inner{margin-top:35px}.auth-kicker{font:700 10px var(--latin);letter-spacing:2px;color:#a3a9b3}.auth-title{font-weight:800;letter-spacing:-1.2px;font-size:clamp(29px,3.2vw,43px);line-height:1.25;margin:12px 0 8px}.auth-description{font-size:12px;color:#969da7;margin:0 0 28px}.auth-form{display:grid;gap:17px}.auth-field{display:grid;gap:8px}.auth-field label{display:flex;align-items:center;justify-content:space-between;color:#d3d7df;font-size:12px;font-weight:700}.auth-field label small{color:#717983;font:650 10px var(--latin);letter-spacing:1px}.auth-field input{height:49px;background:#0d0f12;border:1px solid #383e46;border-radius:10px;padding:0 43px 0 15px;color:#f4f5f7;transition:.2s;width:100%;outline:none}.auth-field input:focus{border-color:#8a929f;background:#111419;box-shadow:0 0 0 3px #b8becd14}.auth-field input::placeholder{color:#666e79}.auth-input-holder{position:relative}.auth-input-holder .input-ico{position:absolute;right:15px;top:16px;width:17px;height:17px;color:#727b86;pointer-events:none}.auth-input-holder button{border:0;background:transparent;color:#a1a7af;width:40px;height:49px;position:absolute;right:0;top:0;display:grid;place-items:center}.auth-input-holder button svg{width:17px;height:17px}.auth-hint{color:#69727e;font-size:11px;margin:-1px 0 0}.auth-submit{margin-top:5px;width:100%;height:50px;border-radius:10px;background:linear-gradient(120deg,#fff,#cbd0d7 85%,#f5f5f7);color:#121315;border:1px solid #f9fafc;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;gap:12px;transition:transform .2s,box-shadow .2s}.auth-submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 9px 24px #d8dde52c}.auth-submit svg{width:17px;height:17px}.auth-switch{text-align:center;font-size:12px;color:#939aa3;margin:21px 0 0}.auth-switch a{color:#fff;font-weight:800;border-bottom:1px solid #9a9ea6}.auth-status{margin-top:26px;display:flex;align-items:center;gap:8px;color:#848c97;font-size:11px}.auth-status:before{content:'';width:6px;height:6px;background:#8a9299;border-radius:50%}.auth-status.ready:before{background:#a8deb9}.auth-error{color:#ffcaca;background:#4b292947;border:1px solid #9b51517c;padding:11px 12px;border-radius:9px;font-size:12px}
/* Help and admin */
.help-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.help-card{padding:25px;display:grid;gap:10px}.help-card span{color:#a9adb7;font:700 11px var(--latin);letter-spacing:1px}.help-card h3{font-size:17px;margin:0}.help-card p{font-size:12px;line-height:1.9;color:#a4aab2;margin:0}.help-card .btn{justify-self:start;margin-top:9px}.admin-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:23px;margin-top:9px}.admin-nav{position:sticky;top:100px;align-self:start;padding:13px;display:grid;gap:3px}.admin-nav small{padding:12px 14px;color:#858d97;font:700 10px var(--latin);letter-spacing:1.5px}.admin-nav a{padding:11px 13px;border-radius:8px;color:#aeb4bd;display:flex;align-items:center;gap:11px;font-size:12px;font-weight:700}.admin-nav a:hover,.admin-nav a.active{background:#2a2d33;color:#fff}.admin-nav svg{width:17px;height:17px}.admin-content{min-width:0}.admin-panel{padding:22px}.admin-toolbar{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:17px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.stat{padding:21px;display:grid;gap:9px}.stat small{color:#9ba1aa;font-size:11px}.stat strong{font:750 27px var(--latin)}.stat span{color:#858b95;font-size:10px}.table-wrap{width:100%;overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;min-width:620px}.data-table th{color:#969ca7;font:700 10px var(--latin);letter-spacing:1px;padding:13px;border-bottom:1px solid #34383f}.data-table td{font-size:12px;color:#c5c9d0;padding:14px 13px;border-bottom:1px solid #292d33}.data-table tr:last-child td{border-bottom:0}.admin-edit{display:flex;gap:9px}.mini-btn{height:30px;border-radius:7px;border:1px solid #444851;background:#20242a;color:#e4e7eb;font-size:11px;padding:0 10px}.mini-btn:hover{background:#353941}.admin-form{display:grid;gap:15px}.admin-form label{font-size:12px;color:#c7cbd3;font-weight:600;display:grid;gap:6px}.admin-form .check-line{display:flex}.admin-form .form-actions{display:flex;gap:10px}.stock-list{margin-top:20px;display:grid;gap:8px}.stock-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #363a42;padding:10px 14px;border-radius:8px;background:#111317}.stock-row code{word-break:break-all;font-size:12px;color:#d3d6dc}.modal-backdrop{position:fixed;inset:0;z-index:90;background:#000b;display:grid;place-items:center;padding:16px;backdrop-filter:blur(7px)}.modal{width:min(590px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:28px;box-shadow:0 30px 80px #000a}.modal-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.modal-title h2{margin:0;font-size:20px}.modal-title button{border:0;background:transparent;color:#cbd0d6;font-size:26px}.admin-order-list{display:grid;gap:13px}.admin-order-card{padding:18px}.admin-order-card .admin-toolbar{margin:0}.admin-order-card p{margin:10px 0;color:#a6adb5;font-size:12px}.admin-order-card select{margin-top:13px;max-width:230px}
@media(max-width:1080px){.shell{width:min(100% - 42px,1276px)}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.connection{display:none}.auth-frame{max-width:950px}.header-inner{gap:14px}}@media(max-width:760px){.shell{width:calc(100% - 30px)}.site-header{height:66px}.header-inner{gap:8px}.brand img{width:48px;height:42px}.brand strong{font-size:16px}.desktop-nav{display:none}.menu-button{display:grid}.login-shortcut{min-width:unset;padding:0 11px;font-size:11px}.mobile-nav:not([hidden]){display:grid;gap:4px;position:absolute;top:65px;left:0;right:0;padding:11px 16px 16px;border-bottom:1px solid #30343a;background:#111316;box-shadow:0 20px 30px #0009}.mobile-nav a{padding:10px 14px;border-radius:8px;font-weight:600}.mobile-nav a:hover{background:#282c31}.main{padding-top:18px;min-height:calc(100vh - 126px)}.hero-banner{aspect-ratio:2.15/1;border-radius:14px}.hero-banner img{object-fit:cover}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-info{padding:12px}.product-info h3{font-size:13px;margin:10px 0 13px;min-height:36px}.product-meta{font-size:10px;flex-wrap:wrap}.product-bottom .price{font-size:19px}.product-add{width:33px;height:33px}.home-shop{margin-top:28px}.home-toolbar{align-items:start}.section-head h1,.section-head h2,.page-title{font-size:24px}.auth-frame{grid-template-columns:1fr;min-height:0;margin:6px auto 0}.auth-showcase{display:none}.auth-panel{padding:61px 23px 30px}.auth-back{top:23px;left:23px}.auth-inner{margin-top:0}.auth-title{font-size:34px}.auth-description{margin-bottom:23px}.detail-grid{grid-template-columns:1fr;gap:22px}.detail-visual{aspect-ratio:1.45}.detail-info h1{font-size:30px}.detail-info hr{margin:20px 0}.cart-layout{grid-template-columns:1fr}.summary{position:static}.account-links{grid-template-columns:1fr}.help-layout{grid-template-columns:1fr}.admin-layout{grid-template-columns:1fr}.admin-nav{position:static;display:flex;overflow:auto;gap:6px}.admin-nav small{display:none}.admin-nav a{white-space:nowrap}.stat-grid{grid-template-columns:repeat(2,1fr)}.footer-inner span:last-child{display:none}}@media(max-width:460px){.brand strong{font-size:15px}.brand{gap:5px}.brand img{width:42px;height:39px}.header-actions{gap:0}.login-shortcut span{display:none}.login-shortcut{height:37px;width:37px;min-width:37px;padding:0;justify-content:center}.cart-link{width:37px}.menu-button{width:37px}.hero-banner{aspect-ratio:1.75/1}.shop-tools{flex-wrap:wrap}.search-wrap{width:100%}.sort-select{width:100%}.product-art{aspect-ratio:1.05}.product-tag{font-size:9px}.cart-line{grid-template-columns:70px 1fr;gap:12px}.cart-line-end{grid-column:2;justify-items:start;grid-row:2}.profile-card{padding:18px}.footer-inner{min-height:55px}.footer-inner span:nth-child(2){display:none}.form-row{grid-template-columns:1fr}.auth-frame{border-radius:17px}.stat-grid{gap:8px}.stat{padding:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* FIX STORE V5 — Firebase category directory and admin management.
   Transforms and opacity are the only animated properties for category cards. */
.home-v5 .hero-banner{border-color:#42464c;box-shadow:0 15px 50px #0007;margin-bottom:40px}
.category-section{margin:0 0 48px}
.category-header{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:34px}
.category-header .breadcrumb{margin:0 0 17px;color:#91969e;font-size:12px}
.category-header h1{font-size:clamp(29px,3.35vw,43px);line-height:1.18;letter-spacing:-1.15px;margin:9px 0 8px;font-weight:800}
.category-header p{margin:0;color:#969ba5;font-size:13px}
.category-search{display:flex;gap:10px;align-items:center;min-width:230px;width:min(340px,38%);height:47px;padding:0 15px;border:1px solid #333840;border-radius:12px;background:#141619;color:#a9aeb8;transition:border-color .2s ease,background .2s ease}
.category-search:focus-within{border-color:#a2a7b0;background:#191c21}
.category-search svg{width:18px;height:18px}
.category-search input{width:100%;height:100%;border:0;outline:0;background:transparent;color:#fff;font-size:13px}
.category-search input::placeholder{color:#747a85}
.category-section-title{display:flex;gap:13px;align-items:center;margin-bottom:21px}
.category-section-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#e5e7eb;color:#101114}
.category-section-icon svg{width:16px;height:16px}
.category-section-title strong{font-size:19px;font-weight:750}
.category-section-count{color:#aaaeb6;font-size:12px;white-space:nowrap}
.category-section-rule{flex:1;height:1px;background:linear-gradient(90deg,#32363d,#16191d)}
.category-section-title small{font-size:11px;color:#7d828c;white-space:nowrap}
.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.category-tile{min-width:0}
.category-card,.admin-category-preview{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #50555d;border-radius:15px;background:linear-gradient(120deg,#0b0d11 5%,#232932 54%,#0b0d11 100%);aspect-ratio:3.7/1;box-shadow:0 12px 38px #0005;transform:translateZ(0);transition:border-color .25s ease,transform .3s var(--ease),box-shadow .3s ease}
.category-card:before,.admin-category-preview:before{position:absolute;z-index:0;inset:0;content:'';pointer-events:none;background:linear-gradient(112deg,transparent 0 23%,#c9d1d80c 24% 27%,transparent 28% 69%,#d9dfe80b 70% 73%,transparent 74%),radial-gradient(ellipse at 74% -20%,#fff2,transparent 55%)}
.category-card:after,.admin-category-preview:after{content:'';position:absolute;inset:8px;z-index:0;pointer-events:none;border:1px solid #ffffff17;border-radius:9px}
.category-card:hover{transform:translateY(-3px);border-color:#9a9fa8;box-shadow:0 17px 44px #0009}
.category-card-image{position:absolute;inset:0;z-index:-1;display:block;overflow:hidden}
.category-card-image img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.52) brightness(.69);transition:transform .5s var(--ease)}
.category-card:hover img{transform:scale(1.045)}
.category-card-image:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#080a0b8a,#080a0b24 60%,#080a0b82);pointer-events:none}
.category-card-shine{position:absolute;z-index:0;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 110%,#f4f7ff0c,transparent 60%)}
.category-watermark{position:absolute;right:8%;top:45%;transform:translateY(-50%);font:900 clamp(50px,7.5vw,125px)/1 var(--latin);letter-spacing:-.11em;color:#f4f6fa0b;text-shadow:0 0 35px #dee2e518;user-select:none;pointer-events:none}
.category-card-label{position:relative;z-index:1;display:block;max-width:80%;font:800 clamp(19px,2.6vw,32px)/1.2 var(--font);letter-spacing:-.55px;color:#fff;text-align:center;text-shadow:0 3px 25px #000b}
.category-card-chevron{position:absolute;z-index:2;right:17px;bottom:17px;display:grid;place-items:center;width:30px;height:30px;color:#e4e5e9;border:1px solid #ffffff3d;border-radius:9px;background:#0c0e128a}
.category-card-chevron svg{width:16px;height:16px}
.category-tile-info{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 4px 0}
.category-tile-text{display:grid;gap:3px;min-width:0}
.category-tile-text strong{position:relative;font-size:14px;font-weight:700;color:#f0f1f3;padding-left:10px;line-height:1.4}
.category-tile-text strong:before{content:'';position:absolute;left:0;top:4px;bottom:3px;width:2px;border-radius:2px;background:#bfc4cd}
.category-tile-text small{font-size:11px;color:#888d97;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:330px}
.category-tile-count{font-size:11px;color:#b0b4bd;white-space:nowrap;display:flex;align-items:center;gap:6px}
.category-tile-count svg{width:14px;height:14px}
.category-empty{grid-column:1/-1;min-height:185px;background:linear-gradient(130deg,#14171b,#0f1114);border:1px dashed #444950;border-radius:15px;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;text-align:center;padding:25px;color:#cdd1d8}
.category-empty svg{width:26px;height:26px;color:#dce0e7}
.category-empty p{font-size:12px;color:#91969e;margin:0 0 8px}
.v5-featured{padding-top:27px;border-top:1px solid #292d33;margin-top:22px}
.v5-featured .section-head{margin-bottom:20px}
.v5-featured .section-head p{font-size:12px;color:#8b909a;margin:5px 0 0}
/* Admin category UI */
.admin-toolbar-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.admin-help-text{margin:9px 0 14px;font-size:12px;color:#969ca6;line-height:1.75}
.admin-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:20px}
.admin-category-card{min-width:0;border:1px solid #30343a;border-radius:14px;background:#101215;padding:10px}
.admin-category-preview{border-radius:10px;aspect-ratio:3.35/1;pointer-events:none}
.admin-category-preview .category-card-label{font-size:21px}
.admin-category-preview .category-card-chevron{display:none}
.admin-category-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 4px 3px}
.admin-category-row>span{display:grid;gap:2px;min-width:0}
.admin-category-row strong{font-size:13px}
.admin-category-row small{color:#868c97;font-size:11px}
.admin-category-row .admin-edit{flex-shrink:0}
.legacy-badge{max-width:160px;font-size:10px}
.form-inline-error{border-radius:9px;background:#391e2180;border:1px solid #bb77776b;color:#ffb7ba;padding:10px 12px;font-size:12px}
.admin-denied{max-width:750px;margin:60px auto;padding:30px}
.admin-denied h1{font-size:26px;margin:10px 0}
.admin-denied p{color:#aeb3bb;font-size:13px;line-height:1.8}
.admin-denied code{word-break:break-all;color:#e7e9ed}
.admin-denied-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.category-active{align-items:center;justify-content:center;min-height:44px;gap:10px!important}
/* Expanded fifth admin metric */
.stat-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
@media(max-width:760px){.home-v5 .hero-banner{margin-bottom:27px}.category-header{flex-direction:column;align-items:stretch;gap:17px;margin-bottom:23px}.category-header .breadcrumb{margin-bottom:10px}.category-header h1{font-size:31px}.category-search{width:100%;max-width:none}.category-section-title{gap:8px}.category-section-title strong{font-size:16px}.category-section-title small{display:none}.category-grid{grid-template-columns:1fr;gap:20px}.category-card{aspect-ratio:3.5/1}.category-card-label{font-size:clamp(22px,5vw,28px)}.category-watermark{font-size:90px}.admin-category-grid{grid-template-columns:1fr}.admin-toolbar{align-items:flex-start;flex-wrap:wrap}.admin-toolbar-actions{width:100%}.category-tile-info{padding:10px 2px 0}.admin-denied{margin:30px auto}}
@media(min-width:761px) and (max-width:1030px){.category-grid{gap:15px}.admin-category-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.category-card,.category-card-image img{transition:none!important}}

/* V5: category-first catalog workflow */
.category-required{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:16px 0 24px;padding:17px 19px;background:linear-gradient(125deg,#202329,#151719);border:1px solid #555963;border-radius:14px}
.category-required strong{font-size:15px;color:#f5f5f6}
.category-required p{font-size:12px;margin:6px 0 0;color:#b9bdc6;line-height:1.8}
.category-required a{flex-shrink:0}
.category-selector-label{border:1px solid #444a53;border-radius:12px;padding:14px;background:#181b20}
.category-selector-label select{margin-top:9px;border-color:#646c76;background-color:#101216}
.category-selector-label small{font-size:11px;margin-top:8px;display:block}
.required-mark{font-size:11px;color:#dadce1;margin-left:5px}
button:disabled{cursor:not-allowed;filter:saturate(.3);opacity:.52}
@media(max-width:650px){.category-required{flex-direction:column;align-items:stretch}.category-required a{width:100%;justify-content:center}}

/* FIX STORE V5.1 — elevated header / dynamic announcements / editorial footer */
.site-header{height:auto;min-height:82px;position:sticky;top:0;background:rgba(8,9,11,.94);border-bottom:1px solid #252930;box-shadow:0 12px 46px #0008}
.header-inner{min-height:78px;height:auto;gap:24px}
.brand{gap:10px}.brand img{width:55px;height:51px}.brand strong{font-size:19px;letter-spacing:-.7px}
.desktop-nav{gap:4px}.desktop-nav a{color:#a9adb6;position:relative;padding:11px 16px;font-size:13px}
.desktop-nav a.active:after{height:2px;left:17px;right:17px;bottom:3px;background:linear-gradient(90deg,transparent,#e6e7ea,transparent)}
.announcement-bar{background:linear-gradient(90deg,#111519,#191d22 53%,#111519);border-top:1px solid #30343c;border-bottom:1px solid #272b31;overflow:hidden}
.announcement-inner{display:flex;align-items:center;gap:18px;min-height:38px}
.announcement-heading{flex:none;display:flex;align-items:center;gap:9px;color:#ebedf0;font-size:11px;font-weight:750;white-space:nowrap;letter-spacing:.2px}
.announcement-pulse{width:7px;height:7px;background:#d6e8f4;box-shadow:0 0 0 4px #b7d8e217,0 0 13px #c4e7f5a1;border-radius:50%}
.announcement-viewport{flex:1;min-width:0;overflow:hidden;mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent)}
.announcement-track{display:flex;align-items:center;gap:27px;width:max-content;max-width:100%}
.announcement-track.animate{max-width:none;animation:store-notice-scroll 30s linear infinite}
.announcement-track.animate:hover,.announcement-track.animate:focus-within{animation-play-state:paused}
.announcement-set{display:flex;align-items:center;gap:27px;flex-shrink:0}
.announcement-item{display:inline-flex;align-items:center;gap:9px;color:#aeb5c0;white-space:nowrap;font-size:11px;max-width:710px}
.announcement-item:hover{color:#fff}.announcement-item svg{width:13px;height:13px}.announcement-bullet{color:#dce2e8;font-size:11px}
.announcement-end{flex:none;color:#959ca6;border-left:1px solid #434953;padding-left:14px;white-space:nowrap;font-weight:600;font-size:10px}.announcement-end:hover{color:#fff}
@keyframes store-notice-scroll{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 13.5px))}}
.main{min-height:calc(100vh - 360px)}
.site-footer{background:linear-gradient(165deg,#121418,#0a0b0d 75%);border-top:1px solid #31353c;position:relative}
.site-footer:before{content:'';position:absolute;inset:0 0 auto;height:1px;pointer-events:none;background:linear-gradient(90deg,transparent,#eeeeee22,transparent)}
.footer-main{display:grid;grid-template-columns:minmax(280px,2fr) repeat(3,minmax(120px,1fr));gap:40px;padding:52px 0 41px}
.footer-brand{display:inline-flex;align-items:center;gap:11px;font:800 20px/1.05 var(--latin);letter-spacing:-.6px;color:#f9fafc}
.footer-brand img{width:57px;height:57px;object-fit:contain}.footer-brand span{display:flex;flex-direction:column;gap:7px}
.footer-brand small{font:650 9px/1.2 var(--latin);color:#7f8794;letter-spacing:1.4px}
.footer-brand-col p{color:#9ca2ad;font-size:12px;line-height:1.95;margin:18px 0}
.footer-status{display:inline-flex;align-items:center;gap:9px;color:#b5bbc5;border:1px solid #32363d;background:#ffffff07;border-radius:7px;padding:7px 12px;font-size:10px}
.footer-status-dot{background:#b4d2bc;border-radius:50%;width:6px;height:6px;box-shadow:0 0 8px #aee2b764}
.footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.footer-links h3{font-size:13px;font-weight:750;margin:6px 0 7px;color:#eff0f3}
.footer-links a{color:#979ea9;font-size:12px;transition:color .2s,transform .2s}
.footer-links a:hover{color:#fff;transform:translateX(3px)}
.footer-bottom{display:flex;gap:18px;align-items:center;justify-content:space-between;border-top:1px solid #262a31;min-height:58px;font:600 10px var(--latin);letter-spacing:.6px;color:#757c86}
.footer-star{color:#bdc6d2;margin:0 5px}
.notice-admin-list{display:grid;gap:12px;margin-top:20px}.notice-admin-item{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#111317;border:1px solid #333740;border-radius:12px;padding:16px}
.notice-admin-content{display:grid;gap:6px;min-width:0}.notice-admin-content strong{font-size:13px;font-weight:650;overflow-wrap:anywhere}.notice-admin-content small{color:#8d929c;font-size:11px;overflow-wrap:anywhere}
.notice-admin-status{color:#aba9a9;font-size:10px}.notice-admin-status.on{color:#b8d7c3}.notice-admin-status:before{content:'●';margin-right:7px}
@media(max-width:1000px){.footer-main{grid-template-columns:2fr 1fr 1fr;gap:28px}.footer-brand-col{grid-column:1/-1}.footer-brand-col p br{display:none}}
@media(max-width:760px){.site-header{min-height:66px}.header-inner{min-height:65px}.announcement-inner{gap:9px;min-height:36px}.announcement-heading{font-size:10px}.announcement-end{display:none}.announcement-item{font-size:10px}.footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 20px;padding:40px 0 32px}.footer-brand-col{grid-column:1/-1}.footer-links h3{margin:0 0 2px}.footer-bottom{flex-wrap:wrap;justify-content:center;text-align:center;padding:18px 0;font-size:9px;min-height:56px}}
@media(max-width:390px){.announcement-heading{font-size:9px}.announcement-inner{gap:7px}}
@media(prefers-reduced-motion:reduce){.announcement-track.animate{animation:none}.announcement-viewport{overflow-x:auto;mask-image:none;-webkit-mask-image:none}}

.register-shortcut{display:inline-flex;align-items:center;justify-content:center;height:39px;border:1px solid #30343b;padding:0 13px;border-radius:10px;color:#c8cbd2;font-size:12px;font-weight:700;white-space:nowrap;transition:background .2s,border-color .2s}.register-shortcut:hover{background:#202329;border-color:#626873;color:#fff}
.footer-brand span{display:inline-block}
@media(max-width:760px){.register-shortcut{display:none}}

/* FIX STORE V5.2 — pill-shaped floating header and contact view */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
.site-header{position:sticky;top:0;z-index:80;height:auto;min-height:unset;padding:12px 0 0;background:linear-gradient(#090a0ce9,#090a0cbd);border:0;box-shadow:none;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.site-header .header-inner{width:min(calc(100% - 40px),1200px);min-height:63px;gap:22px;padding:0 13px 0 16px;border:1px solid #34373e;border-radius:17px;background:linear-gradient(120deg,#15171a,#111316);box-shadow:0 10px 35px #0008, inset 0 1px #ffffff0a}
.site-header .brand img{width:39px;height:39px;object-fit:contain}
.site-header .brand strong{font-size:16px;font-weight:800;letter-spacing:-.4px;white-space:nowrap}
.site-header .desktop-nav{gap:4px;flex:1;justify-content:flex-start}
.site-header .desktop-nav a{border-radius:10px;display:flex;align-items:center;gap:7px;font-size:12px;padding:10px 11px;white-space:nowrap;transition:background .18s,color .18s}
.site-header .desktop-nav a.active{background:#26282c;color:#fff}
.site-header .desktop-nav a.active:after{display:none}
.nav-icon{font:700 17px/1 var(--latin);width:17px;text-align:center;color:#a7aeb8}
.site-header .desktop-nav a.active .nav-icon{color:#eef0f3}
.site-header .header-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
.site-header .header-actions .icon-button{background:#24262a;border:1px solid #2b2f34;border-radius:12px;width:37px;height:37px;display:grid;place-items:center;color:#cfd3da;transition:transform .2s,background .2s,border-color .2s}
.site-header .header-actions .icon-button:hover{transform:translateY(-1px);background:#34383e;border-color:#676d78;color:#fff}
.site-header .header-actions .icon-button svg{height:18px;width:18px}
.site-header .register-shortcut{border:0;background:#24262a;color:#f4f5f7;border-radius:11px;height:38px;padding:0 14px}
.site-header .login-shortcut{background:linear-gradient(135deg,#eff0f2,#c4c9d1);border:1px solid #f4f5f7;border-radius:11px;color:#111317;box-shadow:0 5px 15px #d2d9e31d;height:38px;padding:0 15px;font-size:12px}
.site-header .login-shortcut:hover{background:#fff;color:#0b0c0e}
.site-header .cart-link{position:relative}
.announcement-bar{width:min(calc(100% - 116px),1050px);margin:-1px auto 0;overflow:hidden;background:linear-gradient(90deg,#14171b,#16191c 55%,#14171b);border:1px solid #30333a;border-top:0;box-shadow:0 14px 33px #0008;clip-path:polygon(0 0,100% 0,97.3% 100%,2.7% 100%)}
.announcement-bar[hidden]{display:none!important}
.announcement-bar .announcement-inner{width:calc(100% - 48px);min-height:31px;gap:16px}
.announcement-heading{color:#c1d7e3;font-size:10px}.announcement-pulse{background:#7acfe3;box-shadow:0 0 9px #a1edff60}
.announcement-item{font-size:11px}.announcement-bullet{color:#80d5f4}
.main{padding-top:26px}
.category-card-label{opacity:0;transform:translateY(9px);transition:opacity .21s ease,transform .26s var(--ease)}
.category-card:hover .category-card-label,.category-card:focus-visible .category-card-label{opacity:1;transform:translateY(0)}
.category-card-image img{filter:saturate(.80) brightness(.85)}
.category-card:hover .category-card-image img,.category-card:focus-visible .category-card-image img{filter:saturate(.63) brightness(.61);transform:scale(1.045)}
.category-card-chevron{opacity:.65;transition:opacity .2s ease,transform .2s ease}
.category-card:hover .category-card-chevron,.category-card:focus-visible .category-card-chevron{opacity:1;transform:translateX(2px)}
.admin-category-preview .category-card-label{opacity:1;transform:none}
.contact-page{max-width:1100px;margin:16px auto 75px;min-height:490px}
.contact-heading{margin:22px 0 25px}
.contact-heading h1{margin:5px 0 5px;font-size:clamp(29px,3vw,40px);font-weight:800;letter-spacing:-.8px}
.contact-heading p{margin:0;color:#9ba1ac;font-size:13px}
.contact-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:22px;align-items:start}
.contact-intro{border:1px solid #33363e;background:#111317;border-radius:17px;padding:20px;display:grid;gap:22px}
.contact-brand{display:flex;align-items:center;gap:11px}
.contact-logo{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;background:#1d2026;border:1px solid #33363e;overflow:hidden}
.contact-logo img{width:100%;height:100%;object-fit:contain}
.contact-brand div{display:grid;gap:2px}.contact-brand strong{font:750 17px/1.15 var(--latin)}
.contact-brand small{font-size:11px;color:#989eaa}
.contact-help{display:grid;gap:9px;background:#1a1c21;border:1px solid #33363e;border-radius:13px;padding:17px}
.contact-help-icon{width:34px;height:34px;display:grid;place-items:center;color:#fff;border-radius:10px;background:#2a2d35}
.contact-help strong{font-size:13px}.contact-help p{font-size:12px;line-height:1.9;color:#929ba9;margin:0}.contact-help .btn{justify-self:start}
.contact-channel-panel{min-width:0}
.contact-channel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 11px}
.contact-channel-title h2{margin:0;font-size:17px;font-weight:750}
.contact-channel-title span{font-size:10px;border-radius:8px;color:#c7d1dc;background:#26323b;padding:4px 9px}
.contact-methods{border-radius:16px;border:1px solid #30343b;overflow:hidden;background:#111216}
.contact-method{display:flex;gap:14px;align-items:center;min-height:87px;padding:14px 17px;border-bottom:1px solid #282c32}
.contact-method:last-child{border-bottom:0}
.contact-method-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:12px;font:800 19px/1 var(--latin);color:white;background:linear-gradient(135deg,#6065b7,#525da6)}
.contact-method-icon.youtube{background:#d73339}.contact-method-icon.line{background:#19aa64}.contact-method-icon.more{background:#535963}
.contact-method-copy{display:grid;gap:3px;flex:1;min-width:0}
.contact-method-copy strong{font-size:14px}.contact-method-copy small{font-size:11px;color:#959ba6;line-height:1.6}
.contact-method-link{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;color:#e8edf4}
.contact-method-link:hover{color:#fff;text-decoration:underline}.contact-method-link svg{width:15px;height:15px}
.contact-method-missing{font-size:11px;color:#747b85;white-space:nowrap}
.contact-note{margin:11px 0;color:#868e99;font-size:11px}.contact-note a{color:#e4e7ec;text-decoration:underline}
.site-footer{background:#090a0c;border-top:1px solid #2a2e35;min-height:85px}
.site-footer:before{display:none}
.footer-compact{min-height:85px;display:flex;gap:25px;justify-content:space-between;align-items:center}
.footer-copy{font-size:11px;color:#747b86;line-height:1.6}
.footer-copy a:hover{color:#e5e7eb}.footer-separator{padding:0 6px;color:#565b63}
.footer-contact-row{display:flex;gap:15px;align-items:center;flex-shrink:0}
.footer-contact-text{display:flex;flex-direction:column;align-items:flex-end;font-size:11px;line-height:1.35}
.footer-contact-text span{color:#9298a3}.footer-contact-text a{color:#ebedf1;font-weight:700;text-decoration:underline}
.footer-divider{height:27px;width:1px;background:#454a53}.footer-mark{font:800 21px/1 var(--latin);letter-spacing:-.6px}
@media(hover:none){.category-card-label{opacity:1;transform:none}.category-card-image img{filter:saturate(.7) brightness(.64)}}
@media(max-width:1120px){.site-header .header-inner{gap:12px}.site-header .desktop-nav a{padding:8px 8px;font-size:11px}}
@media(max-width:900px){.site-header .desktop-nav{display:none}.site-header .header-inner{width:calc(100% - 24px)}.site-header .header-actions{margin-left:auto}.site-header .menu-button{display:grid}.site-header .connection{display:none}.contact-grid{grid-template-columns:1fr 2fr}.announcement-bar{width:calc(100% - 60px)}}
@media(max-width:760px){.site-header{padding-top:7px}.site-header .header-inner{min-height:58px;border-radius:13px;padding:0 9px}.site-header .brand strong{font-size:15px}.site-header .brand img{width:35px;height:35px}.site-header .register-shortcut{display:none}.site-header .contact-link{display:grid}.site-header .header-actions .icon-button{width:34px;height:34px}.site-header .login-shortcut{height:34px;padding:0 8px}.announcement-bar{width:calc(100% - 43px)}.announcement-bar .announcement-inner{width:calc(100% - 26px)}.main{padding-top:18px}.contact-grid{grid-template-columns:1fr}.contact-page{margin-top:8px}.contact-intro{padding:16px}.footer-compact{gap:16px;min-height:100px}.footer-copy{max-width:48%;font-size:10px}.footer-mark{font-size:15px}.footer-contact-text{font-size:10px}}
@media(max-width:460px){.site-header .login-shortcut svg{display:none}.site-header .login-shortcut{font-size:11px}.site-header .header-actions{gap:4px}.site-header .cart-link{display:none}.contact-method{gap:10px;padding:12px;flex-wrap:wrap}.contact-method-copy{min-width:180px}.contact-method-link,.contact-method-missing{margin-left:54px}.footer-compact{align-items:center}.footer-contact-row{gap:9px}}
@media(prefers-reduced-motion:reduce){.category-card-label,.category-card-image img,.category-card-chevron{transition:none!important}}

/* FIX STORE V5.3 — visible catalog, sold-out treatment and tighter footer */

.product-image-link{display:block;position:relative}.product-art img{height:100%;width:100%;object-fit:cover}.product-card{min-width:0}.product-card.product-soldout{border-color:#3c3e42}.product-card.product-soldout:hover{border-color:#6c6e73}.product-card.product-soldout .product-art>img{filter:grayscale(.68) brightness(.58)}.product-card.product-soldout .art-glyph{opacity:.5}.product-card .product-info{min-width:0}.product-card .product-info h3{overflow-wrap:anywhere}.soldout-veil{position:absolute;z-index:3;inset:0;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;background:linear-gradient(180deg,#02030433,#05060799);pointer-events:none}.soldout-label{display:inline-flex;align-items:center;justify-content:center;background:#15171de8;border:1px solid #a8abb5a8;color:#fafafa;letter-spacing:.2px;border-radius:8px;padding:8px 17px;font-weight:800;font-size:15px;box-shadow:0 8px 22px #0008}.soldout-caption{font:700 9px/1.2 var(--latin);letter-spacing:2px;color:#d0d4dd}.soldout-button{display:inline-flex;align-items:center;justify-content:center;min-width:81px;padding:7px 10px;border:1px solid #3c414a;border-radius:9px;color:#9ca2ac;background:#22252b;font-size:11px;font-weight:700;white-space:nowrap}.product-card .stock-mark.out{color:#f0b8b8}.detail-visual.is-soldout>img{filter:grayscale(.7) brightness(.56)}.detail-visual .soldout-veil{border-radius:inherit}.catalog-category-cover{height:clamp(100px,16vw,190px);border:1px solid #393f46;border-radius:14px;overflow:hidden;margin:17px 0 24px;background:#15171b}.catalog-category-cover img{width:100%;height:100%;object-fit:cover}.shop-list-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:19px}.shop-list-head .shop-count{margin:0}.stock-filters{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.stock-filter{padding:8px 11px;border:1px solid #343941;border-radius:9px;background:#16191d;color:#a2a7b0;font-size:11px;font-weight:700;transition:background .18s,border-color .18s,color .18s}.stock-filter:hover{background:#24282e;color:#fff}.stock-filter.active{background:#e5e7eb;color:#131519;border-color:#e5e7eb}.stock-filter:focus-visible{outline-offset:2px}
/* Footer condensed: do not reserve a giant empty bottom panel */
.main{min-height:calc(100vh - 131px);padding-bottom:30px}.site-footer{min-height:0!important;padding:0}.site-footer .footer-compact{min-height:49px!important;gap:16px}.site-footer .footer-copy{font-size:10px;line-height:1.45}.site-footer .footer-mark{font-size:16px}.site-footer .footer-divider{height:22px}.site-footer .footer-contact-text{font-size:10px}.site-footer .footer-contact-row{gap:10px}
@media(max-width:960px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-card .product-meta{flex-wrap:wrap;gap:2px}.soldout-label{font-size:12px;padding:6px 12px}.soldout-caption{font-size:8px}.site-footer .footer-compact{min-height:57px!important}.site-footer .footer-copy{max-width:none;font-size:9px}.site-footer .footer-mark{font-size:13px}.site-footer .footer-contact-text{font-size:9px}.main{padding-bottom:22px}}
@media(max-width:430px){.site-footer .footer-copy{max-width:59%}.footer-copy .footer-separator{padding:0 2px}.footer-contact-row .footer-divider{display:none}.site-footer .footer-mark{display:none}.stock-filter{padding:7px 9px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.stock-filter{transition:none}}
/* Mobile account icon must remain visible when username text is hidden. */
@media(max-width:460px){.site-header .login-shortcut svg{display:block!important;width:18px;height:18px}.site-header .login-shortcut{min-width:36px;width:36px;padding:0}.site-header .login-shortcut span{display:none}}


/* FIX STORE V5.4 — classic navigation restored. Contact Admin and announcements remain. */
.site-header{position:sticky;top:0;z-index:80;padding:0;height:auto;min-height:72px;background:rgba(9,10,12,.96);border:0;border-bottom:1px solid #2a2c30;border-radius:0;box-shadow:none;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.site-header .header-inner{width:min(calc(100% - 48px),1276px);height:72px;min-height:72px;margin:0 auto;padding:0;gap:26px;background:transparent;border:0;border-radius:0;box-shadow:none}
.site-header .brand{gap:8px}.site-header .brand img{width:52px;height:45px}.site-header .brand strong{font-size:17px}
.site-header .desktop-nav{flex:1;justify-content:center;gap:13px}
.site-header .desktop-nav a{padding:11px 15px;display:flex;align-items:center;border-radius:9px;font-size:12px;color:#a8abb3;font-weight:700;white-space:nowrap;transition:color .2s,background .2s}
.site-header .desktop-nav a:hover,.site-header .desktop-nav a.active{background:transparent;color:#f6f7f9}
.site-header .desktop-nav a.active:after{display:block;position:absolute;content:'';bottom:3px;height:2px;left:15px;right:15px;border-radius:3px;background:#e5e7eb}
.site-header .header-actions{gap:9px;margin-left:auto}
.site-header .header-actions .icon-button{width:39px;height:39px;background:transparent;border:1px solid transparent;border-radius:10px;color:#d5d7db}
.site-header .header-actions .icon-button:hover{background:#25282d;border-color:#444850;color:#fff;transform:translateY(-1px)}
.site-header .contact-link{display:grid!important;color:#e5e7ea;border-color:#30343a!important;background:#1a1c20!important}
.site-header .contact-link:hover{background:#30343a!important}
.site-header .register-shortcut{background:transparent;border:1px solid #3c4047;color:#e5e5e6;border-radius:10px;height:38px}
.site-header .login-shortcut{background:linear-gradient(135deg,#292c31,#1c1e23);color:#f8f8f9;border:1px solid #474b53;border-radius:10px;height:39px;box-shadow:none;padding:0 14px}
.site-header .login-shortcut:hover{background:#30343b;color:#fff}
.site-header .mobile-nav:not([hidden]){top:72px;left:0;right:0;background:#101215;border-bottom:1px solid #32363b;box-shadow:0 20px 30px #0009}
/* Announcement content stays editable in the Admin panel but is a clean strip below classic header. */
.site-header .announcement-bar{width:100%;margin:0;clip-path:none;border:0;border-top:1px solid #202329;border-radius:0;background:#111318;box-shadow:none}
.site-header .announcement-bar .announcement-inner{width:min(calc(100% - 48px),1276px);min-height:29px;margin:auto}
.site-header .announcement-heading{font-size:10px}
/* Portrait-style storefront product card: image, integrated badge, image price, name, stock & actual sold count. */
.product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}
.product-card.portrait-card{background:#0e1013;border:1px solid #2d3138;border-radius:14px;overflow:hidden;min-width:0;box-shadow:0 6px 24px #0003;transition:transform .25s var(--ease),border-color .25s,box-shadow .25s}
.product-card.portrait-card:hover{transform:translateY(-4px);border-color:#585e69;box-shadow:0 14px 35px #0008}
.portrait-image-frame{position:relative;margin:4px 4px 0;border-radius:10px;overflow:hidden;background:#1a1e24}
.portrait-card .product-image-link{display:block}
.portrait-card .product-art{aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;border-radius:10px;background:radial-gradient(ellipse at 35% 25%,#424b58,#242b32 45%,#12161b 100%)}
.portrait-card .product-art>img{width:100%;height:100%;object-fit:cover;transition:transform .35s var(--ease)}
.portrait-card:hover .product-art>img{transform:scale(1.035)}
.portrait-card .product-tag{display:none!important}
.portrait-featured{position:absolute;top:8px;left:8px;z-index:4;display:inline-flex;align-items:center;gap:5px;font-weight:800;font-size:10px;line-height:1.2;color:#eef2ff;text-shadow:0 1px 4px #000a;pointer-events:none}
.portrait-featured-icon{width:20px;height:20px;display:grid;place-items:center;background:linear-gradient(140deg,#5551aa,#3f317f);border:1px solid #a9a0f6;border-radius:6px;font-size:13px;box-shadow:0 3px 9px #0006}
.portrait-image-price{position:absolute;z-index:4;right:0;bottom:0;padding:7px 11px;border-radius:12px 0 0 0;background:rgba(8,10,12,.96);border-top:1px solid #333843;border-left:1px solid #333843;color:#ffde46;font:700 17px/1 var(--latin);pointer-events:none}
.portrait-info{display:flex;flex-direction:column;gap:9px;min-height:90px;padding:11px 12px 13px}
.portrait-name-link{display:block;min-width:0}
.portrait-info h3{font-size:13px!important;line-height:1.55;font-weight:650;color:#f2f4f6;margin:0!important;min-height:40px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.portrait-name-link:hover h3{color:#fff}
.portrait-footer{display:flex;gap:5px;justify-content:space-between;align-items:center;min-height:22px}
.portrait-facts{display:flex;flex-wrap:wrap;gap:3px 10px;font-size:10px;line-height:1.5;color:#a7acb7}
.portrait-facts strong{color:#e7e9ed;font-weight:700}
.portrait-stock.out{color:#e9a9ab}
.portrait-sold strong{color:#7bd3a0}
.portrait-add{display:grid;place-items:center;flex:none;width:27px;height:27px;border:1px solid #393e47;border-radius:8px;background:#23272d;color:#edf0f4;transition:border-color .2s,background .2s,transform .2s}
.portrait-add:hover{background:#3a414a;border-color:#8a939f;transform:scale(1.03)}
.portrait-add svg{width:14px;height:14px}
.portrait-card .soldout-veil{border-radius:10px}
.portrait-card.product-soldout .portrait-image-price{color:#d3d5da}
@media(max-width:1190px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:950px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.site-header .desktop-nav{gap:0}.site-header .desktop-nav a{padding:9px 8px;font-size:11px}.site-header .header-inner{gap:9px}.site-header .register-shortcut{display:none}}
@media(max-width:900px){.site-header .desktop-nav{display:none}.site-header .menu-button{display:grid}.site-header .header-inner{width:calc(100% - 32px)}.site-header .announcement-bar .announcement-inner{width:calc(100% - 32px)}}
@media(max-width:700px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.portrait-info{padding:9px 9px 11px;gap:6px;min-height:83px}.portrait-info h3{font-size:12px!important;min-height:36px!important}.portrait-image-price{padding:5px 8px;font-size:15px}.portrait-facts{font-size:9px;gap:2px 8px}.portrait-featured{font-size:9px}.portrait-featured-icon{width:18px;height:18px}.site-header{padding:0}.site-header .header-inner{height:63px;min-height:63px;width:calc(100% - 24px)}.site-header .brand img{width:41px;height:39px}.site-header .brand strong{font-size:15px}.site-header .mobile-nav:not([hidden]){top:63px}}
@media(max-width:460px){.site-header .header-actions{gap:3px}.site-header .contact-link{width:35px;height:35px}.site-header .header-actions .icon-button{width:35px;height:35px}.site-header .login-shortcut{width:36px;height:35px;padding:0;min-width:36px}.site-header .login-shortcut svg{display:block!important}.site-header .cart-link{display:none}.portrait-featured{max-width:calc(100% - 20px)}.portrait-image-price{font-size:14px}}
@media(prefers-reduced-motion:reduce){.portrait-card,.portrait-card .product-art>img,.portrait-add{transition:none!important}}
/* The hamburger belongs to mobile only; do not show beside desktop navigation. */
.site-header .menu-button{display:none!important}
@media(max-width:900px){.site-header .menu-button{display:grid!important}}

/* FIX STORE V6 — delivery workflow and order details */
:root{--store-glint:#f8f9fc}
.home-v5 .category-section{padding-bottom:64px}
.delivery-feature{display:flex;gap:10px;align-items:center;background:linear-gradient(108deg,rgba(222,225,234,.09),rgba(222,225,234,.015));border:1px solid rgba(230,231,240,.12);border-radius:12px;padding:13px 16px;color:#c2c5ce;margin:16px 0 18px;font-size:.88rem}
.delivery-feature svg{width:18px;height:18px;color:#fff}
.delivery-feature b{color:#fff;font-weight:650}
.orders-upgraded{max-width:1080px;margin:auto;min-height:58vh}
.orders-title{text-align:center;padding:26px 0 22px}
.orders-title h1{margin:9px 0 7px}
.orders-title p{color:var(--muted,#999);font-size:.91rem;margin:0}
.orders-tabs{display:flex;align-items:center;justify-content:center;gap:5px;margin:2px auto 26px;padding:5px;border:1px solid #313239;background:#111216;width:max-content;max-width:100%;border-radius:99px}
.orders-tabs button{border:0;border-radius:99px;background:transparent;color:#a4a6b1;cursor:pointer;padding:10px 15px;font:inherit;font-size:.84rem;transition:background .2s ease,color .2s ease}
.orders-tabs button.active{background:linear-gradient(115deg,#fff,#ced0d6);color:#111317;box-shadow:0 5px 17px #0004;font-weight:750}
.orders-tabs span{font-size:.76rem;opacity:.75;margin-left:4px}
.orders-toolbar{display:flex;justify-content:space-between;align-items:center;padding:12px 0;color:#9b9ca6;font-size:.84rem;border-top:1px solid #25262c}
.enhanced-order{padding:20px 22px;border-radius:16px;position:relative;overflow:hidden;transition:transform .23s ease,border-color .23s ease,box-shadow .23s ease}
.enhanced-order:hover{transform:translateY(-2px);border-color:#62636c;box-shadow:0 17px 35px #0005}
.enhanced-order .order-top strong{font-size:1rem}
.enhanced-order .order-top small{display:block;margin-top:6px;color:#9699a2}
.enhanced-order .order-items p{display:inline-flex;flex-wrap:wrap;gap:5px;margin:5px 8px 5px 0;color:#c6c7d0;font-size:.85rem}
.enhanced-order .order-items p span{color:#9c9eaa}
.enhanced-order .order-bottom{gap:12px;flex-wrap:wrap;align-items:center}
.order-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.order-actions button{cursor:pointer;min-height:33px}
.primary-mini{background:linear-gradient(135deg,#eef1f7,#c2c5cd)!important;color:#151619!important;border-color:transparent!important;font-weight:700}
.claim-mini{border-color:#d3ad62!important;color:#eacb90!important}
.order-detail-modal{width:min(650px,calc(100vw - 28px));max-height:min(82vh,900px);display:flex;flex-direction:column}
.order-detail-modal .modal-title{flex-shrink:0}
.order-detail-modal .modal-title p{font-size:.83rem;color:#999ba5;margin:5px 0 0}
.modal-scroll{overflow-y:auto;min-height:100px;padding:8px 1px 16px;scrollbar-width:thin}
.order-summary-line{display:flex;justify-content:space-between;margin:10px 0;padding:10px 12px;border:1px solid #393b44;border-radius:10px}
.delivery-box{border:1px solid #393a43;border-radius:12px;margin:12px 0;background:rgba(230,230,240,.025);padding:14px}
.delivery-box-heading{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px}
.delivery-box-heading strong{font-size:.94rem}
.delivery-box-heading span{font-size:.74rem;color:#a1a4b1}
.delivery-secret{padding:12px;border:1px solid #343740;background:#0a0b0f;border-radius:11px;margin:9px 0}
.delivery-secret>small{color:#898c97;display:block;font-size:.75rem;margin-bottom:8px}
.secret-row{display:grid;grid-template-columns:minmax(85px,.65fr) minmax(70px,2fr) auto;gap:10px;align-items:center;padding:8px 2px;border-top:1px solid #292c32}
.secret-row span{color:#999ca5;font-size:.76rem}
.secret-row code{color:#fafafa;overflow-wrap:anywhere;font-size:.85rem}
.secret-row button{border:1px solid #555865;background:#24262e;color:#fff;border-radius:8px;padding:7px 11px;cursor:pointer}
.secret-row button:hover{background:#e8eaf1;color:#111}
.delivery-pending{border:1px dashed #4a4b54;background:#17181d;color:#a9acba;padding:20px;border-radius:11px;font-size:.88rem}
.delivery-modal-footer{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;padding-top:14px;border-top:1px solid #353740}
.admin-pill-count{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;padding:2px 6px;border-radius:99px;background:#c3c6cf;color:#171820;font-size:11px;font-weight:800;margin-left:auto}
.alert-guide{margin-bottom:14px;padding:17px 19px;color:#eeeef3}
.alert-guide b{display:block;margin-bottom:6px}
.alert-guide p{font-size:.83rem;color:#b0b3bf;margin:0;line-height:1.8}
.claim-list{display:grid;gap:12px;margin-top:18px}
.claim-row{border:1px solid #35363f;background:#101115;border-radius:12px;padding:18px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.claim-meta{min-width:0;flex:1}
.claim-meta strong{display:block;color:#fff}
.claim-meta small{display:block;color:#9496a3;margin:5px 0 8px;font-size:.75rem}
.claim-meta p{margin:0;color:#d4d5df;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.88rem}
.claim-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.claim-actions select{width:180px;font-size:.79rem;padding:10px}
.site-footer{padding-top:0}
@media(max-width:700px){.orders-title{padding:15px 0}.orders-tabs{width:100%;justify-content:space-between}.orders-tabs button{padding:10px 8px;font-size:.76rem}.enhanced-order{padding:16px 14px}.order-actions{width:100%}.order-actions button{flex:1}.secret-row{grid-template-columns:1fr auto}.secret-row span{grid-column:1/-1}.claim-row{flex-direction:column}.claim-actions{width:100%}.delivery-modal-footer>*{flex:1}}
@media(prefers-reduced-motion:reduce){.enhanced-order{transition:none}.enhanced-order:hover{transform:none}}

/* V7 — compact credit wallet */
.wallet-page{max-width:1140px;margin:auto}.wallet-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);gap:20px;margin:28px 0}.wallet-left,.wallet-right{display:grid;align-content:start;gap:20px}.wallet-balance{position:relative;overflow:hidden;padding:31px;border-radius:20px;background:radial-gradient(ellipse at 85% 4%,#373a44 0,transparent 44%),linear-gradient(135deg,#17181d,#090a0e);min-height:245px}.wallet-balance:after{content:"FX";position:absolute;right:10px;bottom:-70px;font-size:200px;line-height:1;font-weight:800;color:#ffffff08;pointer-events:none}.wallet-balance-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:37px;color:#dbdce3;font-size:11px;font-weight:800;letter-spacing:2px}.wallet-balance-top svg{width:25px;height:25px}.wallet-balance>small{color:#c1c3cf;font-size:13px}.wallet-balance-amount{font-size:clamp(38px,5vw,58px);line-height:1.15;letter-spacing:-2px;font-weight:800;color:#fff;margin:8px 0 24px}.wallet-divider{height:1px;background:#ffffff20;margin-bottom:14px}.wallet-balance>span{color:#a2a5b0;font-size:12px}.wallet-select,.wallet-steps,.wallet-history{padding:25px;border-radius:18px}.wallet-section-head{display:flex;align-items:center;gap:12px;margin-bottom:21px}.wallet-section-head>span{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;color:#151518;background:#cfd2da;font-weight:800}.wallet-section-head strong{display:block;font-size:17px}.wallet-section-head small{display:block;color:#999ca9;font-size:12px;margin-top:4px}.wallet-amount-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:20px}.wallet-amount{padding:15px 7px;border:1px solid #393b43;background:#1b1d22;color:#fafafa;border-radius:11px;font:inherit;font-size:15px;font-weight:700;cursor:pointer;transition:transform .18s,border-color .18s,background .18s}.wallet-amount:hover{transform:translateY(-2px);border-color:#969ba5}.wallet-amount.active{background:linear-gradient(135deg,#fcfcff,#cbd0d7);color:#111;border-color:#fff;box-shadow:0 7px 25px #e8ebf31c}.wallet-intent-form{display:grid;gap:14px}.wallet-intent-form label,.wallet-slip-form label{display:grid;gap:10px;font-size:13px;font-weight:700}.wallet-intent-form .btn,.wallet-slip-form .btn{width:100%;justify-content:center}.wallet-waiting,.wallet-safe-note{font-size:12px;color:#a7a9b3;line-height:1.7}.wallet-steps ol{color:#bdc0c9;padding-left:23px;font-size:13px;line-height:2.35}.wallet-history-line{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #292c32;padding:13px 0}.wallet-history-line span{display:grid;gap:3px}.wallet-history-line strong{font-size:13px}.wallet-history-line small{font-size:11px;color:#90939d}.wallet-history-line b{font-size:14px;white-space:nowrap}.wallet-history-line b.credit{color:#a7dfc2}.wallet-history-line b.debit{color:#e3a7a7}.wallet-warning{padding:15px 18px;border:1px solid #71484a;background:#321f22;color:#ffd6d6;border-radius:12px;font-size:13px}.wallet-modal{max-width:460px}.wallet-qr-box{display:grid;justify-items:center;gap:8px;background:#f5f6fa;border-radius:14px;padding:18px 12px;color:#17191c;margin-bottom:19px}.wallet-qr-box img{width:210px;height:210px;max-width:100%;object-fit:contain}.wallet-qr-box>span{font-size:12px}.wallet-qr-box>strong{font-size:26px;letter-spacing:-1px}.wallet-qr-box>small{font-size:11px;color:#6a6c74}.wallet-slip-form{display:grid;gap:15px}.wallet-slip-form input{font-size:12px}.wallet-safe-note{text-align:center;margin-bottom:0}.wallet-checkout{width:100%;margin-top:10px}
@media(max-width:800px){.wallet-grid{grid-template-columns:1fr}.wallet-left,.wallet-right{gap:14px}.wallet-balance{min-height:215px}.wallet-select,.wallet-steps,.wallet-history{padding:20px}.wallet-page .section-head{align-items:start}}
@media(max-width:460px){.wallet-amount-grid{grid-template-columns:repeat(3,1fr)}.wallet-amount{font-size:13px;padding:11px 4px}.wallet-balance{padding:24px}}
@media(prefers-reduced-motion:reduce){.wallet-amount{transition:none}.wallet-amount:hover{transform:none}}

/* FIX STORE V7.1 — Account dashboard + dual-mode credit center */
[hidden]{display:none!important}
.header-credit{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;height:36px;padding:0 12px;border:1px solid #515661;border-radius:10px;background:linear-gradient(145deg,#262b32,#111317);color:#f4f5f7;font:750 12px var(--latin);box-shadow:inset 0 1px 0 #ffffff13;transition:transform .2s ease,border-color .2s ease,background .2s ease}
.header-credit:hover{transform:translateY(-1px);border-color:#a1a6b0;background:#30343b}
.header-credit svg{width:15px;height:15px;flex-shrink:0;color:#d9dce4}
.account-dashboard,.credit-page{max-width:1160px;margin:16px auto 0;min-width:0}
.account-page-top,.credit-page-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:25px}
.account-page-top h1,.credit-page-heading h1{margin:7px 0 6px;font-size:clamp(27px,3.3vw,42px);font-weight:800;letter-spacing:-1.2px;color:#f7f7f9}
.account-page-top p,.credit-page-heading p{margin:0;line-height:1.7;font-size:13px;color:#9da2ae}
.account-hero{position:relative;overflow:hidden;border:1px solid #43474f;border-radius:21px;padding:32px;min-height:214px;background:radial-gradient(ellipse at 84% 4%,#5e626d32 0,transparent 48%),linear-gradient(117deg,#1e2229 0%,#0e1014 56%,#161a20 100%);display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 17px 45px #0004}
.account-hero:before{content:'';position:absolute;inset:-150% 10% auto auto;height:560px;width:135px;transform:rotate(25deg);background:linear-gradient(90deg,transparent,#ffffff08,transparent);pointer-events:none;animation:credit-sheen 7s ease-in-out infinite}
@keyframes credit-sheen{0%,40%,100%{transform:translateX(-190px) rotate(25deg)}70%{transform:translateX(260px) rotate(25deg)}}
.account-profile{display:flex;gap:21px;align-items:center;min-width:0;position:relative;z-index:1}
.account-avatar{display:grid;place-items:center;flex:none;width:86px;height:86px;border-radius:24px;border:1px solid #ffffff5c;background:linear-gradient(142deg,#f3f4f7,#898f9d);box-shadow:0 12px 35px #0008, inset 0 1px 2px #fff9;color:#0e1014;font:800 42px var(--latin)}
.account-profile-caption{display:block;color:#9097a5;font:750 10px var(--latin);letter-spacing:2px}
.account-profile h2{font:800 clamp(25px,3vw,36px)/1.25 var(--latin);margin:9px 0}
.account-role{font-size:11px;font-weight:750;color:#cbd0db;letter-spacing:1.2px}
.account-wallet-preview{position:relative;z-index:1;min-width:224px;padding:8px 0 8px 28px;border-left:1px solid #ffffff2d;display:grid;gap:5px}
.account-wallet-preview small{color:#9ea6b3;font-size:12px}
.account-wallet-preview strong{font:800 clamp(28px,3.3vw,42px) var(--latin);letter-spacing:-1px;color:white}
.account-wallet-preview a{display:inline-flex;width:max-content;align-items:center;gap:6px;margin-top:8px;font-size:12px;color:#e3e6ed;font-weight:700}
.account-wallet-preview a:hover{color:white}
.account-wallet-preview svg,.account-shortcuts svg,.account-order-row svg{width:19px;height:19px}
.account-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:18px 0}
.account-stats article{padding:20px 23px;border:1px solid #2e323a;border-radius:16px;background:linear-gradient(145deg,#17191d,#101114);min-height:143px;transition:transform .2s,border-color .2s}
.account-stats article:hover{transform:translateY(-2px);border-color:#6a6e77}
.account-stats article>span{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#2b2f37;color:#e1e4ec}
.account-stats svg{width:16px;height:16px}
.account-stats p{color:#a6adb8;margin:12px 0 3px;font-size:12px}
.account-stats strong{display:inline-block;color:#fff;font:800 27px var(--latin);margin-right:8px}
.account-stats small{font-size:10px;color:#7f8590}
.account-bottom-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:17px}
.account-dashboard-panel{min-width:0;padding:22px;border:1px solid #33363f;border-radius:19px;background:#111317}
.account-panel-heading{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:18px}
.account-panel-heading h3{margin:5px 0 0;font-size:19px}
.account-panel-heading>a{font-size:11px;color:#cdd0d8;display:flex;align-items:center;gap:5px}
.account-panel-heading svg{width:14px;height:14px}
.account-shortcuts{display:grid;gap:8px}
.account-shortcuts>a{display:flex;align-items:center;gap:13px;min-height:66px;padding:11px 13px;border:1px solid #292c34;background:#171a1f;border-radius:12px;transition:background .2s,transform .2s,border-color .2s}
.account-shortcuts>a:hover{background:#22262c;border-color:#656c78;transform:translateX(2px)}
.account-shortcuts>a>span{flex:none;display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:linear-gradient(140deg,#343b46,#20252c);color:#f1f2f5}
.account-shortcuts>a>div{min-width:0;flex:1}
.account-shortcuts strong,.account-shortcuts small{display:block}
.account-shortcuts strong{font-size:13px}.account-shortcuts small{color:#979ca7;font-size:10px;margin-top:5px;line-height:1.6}
.account-shortcuts>a>svg{width:15px;color:#c3c7ce}
.account-order-row{display:flex;align-items:center;gap:11px;border-top:1px solid #292d34;padding:14px 0;min-width:0}
.account-order-row:hover strong{color:white}
.account-order-icon{width:35px;height:35px;flex:none;display:grid;place-items:center;border:1px solid #434853;border-radius:10px;background:#20242c}
.account-order-row>div{min-width:0;flex:1}
.account-order-row strong,.account-order-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-order-row strong{font-size:12px;color:#d6d9e1}.account-order-row small{font-size:10px;color:#888f9a;margin-top:5px}
.account-order-row>b{font-size:10px;color:#c0c7d0;font-weight:650;white-space:nowrap}
.account-no-orders{text-align:center;padding:37px 12px;color:#bfc4cd;font-size:14px;border:1px dashed #343943;border-radius:12px}
.account-no-orders small{color:#8d949f;line-height:2}
.account-logout{padding-top:14px;margin-top:15px;border-top:1px solid #2a2c34}
.account-logout button{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#b4bbc5;padding:6px 0;cursor:pointer;font:650 12px inherit}
.account-logout button:hover{color:#fff}.account-logout svg{width:16px;height:16px}
.credit-back-shop{display:flex;align-items:center;gap:8px;font-size:12px;color:#c8ced8;font-weight:700}
.credit-back-shop svg{transform:rotate(180deg);width:17px;height:17px}
.credit-dashboard{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(270px,.82fr);gap:16px;margin:16px 0 25px}
.credit-main-card{border:1px solid #777e8d85;border-radius:22px;padding:29px 32px;min-height:237px;background:radial-gradient(ellipse at 88% 8%,#aab2c034,transparent 50%),linear-gradient(112deg,#272d36,#11151b 64%,#090b0e);position:relative;overflow:hidden;isolation:isolate;box-shadow:inset 0 1px 0 #ffffff22,0 18px 46px #0007}
.credit-main-card:before{content:'';position:absolute;width:270px;height:270px;border:1px solid #ffffff20;border-radius:50%;right:-40px;top:-90px;pointer-events:none}
.credit-main-card:after{content:'';position:absolute;width:390px;height:390px;border:1px solid #ffffff12;border-radius:50%;right:-90px;top:-145px;pointer-events:none}
.credit-main-top{display:flex;align-items:center;gap:10px;font:750 10px var(--latin);letter-spacing:1.8px;color:#ccd1d9;position:relative;z-index:1}
.credit-main-top img{object-fit:contain;width:46px;height:37px}
.credit-main-chip{margin-left:auto;padding:7px 10px;border:1px solid #ffffff38;border-radius:25px;font-size:9px;letter-spacing:1px;background:#ffffff13}
.credit-main-label{font-size:12px;color:#adb7c4;margin:26px 0 2px;position:relative;z-index:1}
.credit-main-amount{font:800 clamp(36px,5vw,58px) var(--latin);color:#fff;letter-spacing:-1.5px;position:relative;z-index:1}
.credit-main-bottom{margin-top:19px;padding-top:14px;border-top:1px solid #ffffff22;display:flex;justify-content:space-between;gap:14px;color:#c3c9d1;font-size:11px;position:relative;z-index:1}
.credit-main-bottom>span{display:flex;align-items:center;gap:6px}.credit-main-bottom svg{width:14px;height:14px}
.credit-side-summary{border:1px solid #343942;border-radius:20px;padding:25px;background:linear-gradient(135deg,#181b20,#0e1014);display:grid;align-content:center}
.credit-side-summary h2{font-size:clamp(23px,2.4vw,30px);margin:10px 0;line-height:1.3;letter-spacing:-.5px}
.credit-side-summary p{font-size:12px;color:#9ea4b0;line-height:1.9;margin:0 0 15px}
.credit-feature-list{display:flex;flex-wrap:wrap;gap:8px}
.credit-feature-list span{display:flex;align-items:center;gap:5px;border:1px solid #3b4048;border-radius:25px;padding:7px 9px;background:#24262b;color:#e1e5eb;font-size:10px}
.credit-feature-list svg{width:12px;height:12px}
.credit-switch{display:flex;align-items:center;width:max-content;max-width:100%;gap:5px;border:1px solid #383d47;border-radius:13px;background:#131519;padding:5px;margin-bottom:17px}
.credit-switch-btn{display:flex;align-items:center;gap:9px;border:0;border-radius:9px;padding:13px 21px;background:transparent;color:#939ba6;cursor:pointer;font:700 13px inherit;transition:background .2s,color .2s}
.credit-switch-btn svg{height:18px;width:18px}
.credit-switch-btn:hover{color:#f0f2f7}.credit-switch-btn.active{color:#111318;background:linear-gradient(125deg,#ffffff,#bec4ce);box-shadow:0 7px 20px #0006}
.credit-workspace{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(295px,.8fr);align-items:start;gap:17px}
.credit-method-panel,.credit-info-panel,.credit-admin-panel{border:1px solid #373c45;border-radius:19px;background:linear-gradient(145deg,#17191e,#0e1014);box-shadow:0 13px 37px #0003}
.credit-method-panel{padding:28px;min-height:414px}
.credit-method-head{display:flex;align-items:start;gap:12px;margin-bottom:26px}
.credit-step{display:grid;place-items:center;border-radius:11px;width:38px;height:38px;flex:none;background:linear-gradient(135deg,#f5f6f8,#b4b9c3);color:#181b1f;font:800 12px var(--latin)}
.credit-method-head h2{font-size:19px;font-weight:800;margin:0 0 4px}.credit-method-head p{font-size:12px;line-height:1.75;color:#a5abb5;margin:0}
.credit-amount-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:25px}
.credit-amount-choice{display:grid;text-align:left;gap:5px;padding:16px 17px;border-radius:13px;background:#202329;border:1px solid #3d424c;color:#f2f3f5;cursor:pointer;transition:transform .2s,border-color .2s,background .2s,box-shadow .2s}
.credit-amount-choice small{font-size:10px;color:#a6adb8}.credit-amount-choice b{font:800 23px var(--latin)}
.credit-amount-choice:hover{transform:translateY(-2px);border-color:#818a96}.credit-amount-choice.active{background:linear-gradient(135deg,#e9eaf0,#b7bec8);color:#11151a;border-color:#f0f1f7;box-shadow:0 9px 30px #d5d8e51a}
.credit-amount-choice.active small{color:#3f444e}
.credit-qr-form,.credit-redeem-form{display:grid;gap:13px}.credit-qr-form label,.credit-redeem-form label{display:grid;gap:9px;color:#d2d6dd;font-size:12px;font-weight:700}
.credit-qr-form input,.credit-redeem-form input{background:#0d0e11;border-color:#484d58;height:46px}
.credit-redeem-form input{font:750 16px var(--latin);letter-spacing:1.2px}
.credit-main-btn{justify-content:center;width:100%;min-height:49px;border-radius:11px!important}
.credit-main-btn svg{height:18px;width:18px}
.credit-method-foot,.credit-inline-note{display:flex;align-items:start;gap:8px;margin-top:15px;font-size:11px;line-height:1.65;color:#a7adb8}
.credit-inline-note{color:#e0bd87}.credit-method-foot svg{width:14px;height:14px;flex:none}
.credit-code-visual{display:flex;gap:17px;align-items:center;border:1px solid #525864;border-radius:15px;padding:20px;margin-bottom:25px;background:radial-gradient(ellipse at 85% 3%,#6b74803b,transparent 70%),linear-gradient(115deg,#2c3039,#14161a)}
.credit-code-visual-symbol{font-size:43px;color:#f1f2f4}
.credit-code-visual strong,.credit-code-visual span{display:block}.credit-code-visual strong{font:750 14px var(--latin);letter-spacing:1.6px}.credit-code-visual span{font-size:11px;color:#b3b9c3;margin-top:8px}
.credit-right-stack{display:grid;gap:16px}.credit-info-panel{padding:23px}
.credit-info-heading{display:flex;align-items:center;gap:11px;margin-bottom:13px}
.credit-info-heading h3{font-size:15px;margin:0;flex:1}
.credit-mini-icon{display:grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid #535965;border-radius:9px;background:#30343d}
.credit-mini-icon svg{width:17px;height:17px}.credit-instructions{margin:0;padding:5px 0 3px 25px;color:#c5cad2;font-size:12px;line-height:2.4}.credit-instructions li{padding-left:4px}
.credit-disclaimer{color:#8f97a4;font-size:11px;line-height:1.7;padding-top:10px;margin:12px 0 0;border-top:1px solid #30343b}
.credit-history-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #30343a}.credit-history-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;flex:none;background:#1d3028;color:#a5e9c7}.credit-history-icon.minus{background:#352628;color:#f0bbbd}.credit-history-icon svg{width:15px;height:15px}.credit-history-title{min-width:0;flex:1}.credit-history-title b,.credit-history-title small{display:block}.credit-history-title b{font-size:11px}.credit-history-title small{margin-top:4px;font-size:10px;color:#8a929f}.credit-history-row>strong{font:750 12px var(--latin);white-space:nowrap}.credit-history-row>strong.plus{color:#a5e8c5}.credit-history-row>strong.minus{color:#efb1b5}.credit-empty{padding:24px 10px;color:#9ba3b0;text-align:center;font-size:12px}
.credit-refresh-btn{border:1px solid #454a53;border-radius:7px;background:#202328;color:#d6d9df;padding:6px 9px;cursor:pointer;font-size:10px}.credit-refresh-btn:hover{background:#343840}
.credit-alert{display:flex;align-items:center;gap:10px;margin-top:17px;padding:15px;border:1px solid #7e5456;color:#f1c6c8;background:#322024;border-radius:12px;font-size:12px;line-height:1.65}.credit-alert svg{width:17px;height:17px;flex:none}
.credit-admin-panel{display:flex;justify-content:space-between;gap:22px;align-items:end;margin-top:20px;padding:23px 25px}
.credit-admin-panel h3{margin:6px 0;font-size:17px}.credit-admin-panel p{font-size:11px;color:#aab0bc;margin:0}
.credit-admin-panel form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.credit-admin-panel label{display:grid;gap:7px;color:#abb2be;font-size:11px}.credit-admin-panel input{width:126px;height:40px}.credit-admin-panel .btn{white-space:nowrap;height:40px}
.issued-code-list{display:grid;gap:8px;margin:20px 0;max-height:40vh;overflow-y:auto}.issued-code{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:10px 13px;background:#17191f;border:1px solid #40444e;border-radius:10px}.issued-code code{font-size:12px;overflow-wrap:anywhere}.issued-code button{flex:none;border:1px solid #777d89;border-radius:8px;background:#e9eaee;color:#121416;font-size:11px;font-weight:700;padding:8px 10px;cursor:pointer}
@media(max-width:1000px){.credit-workspace{grid-template-columns:1fr 325px}.credit-amount-choice b{font-size:19px}}
@media(max-width:850px){.credit-dashboard,.credit-workspace,.account-bottom-grid{grid-template-columns:1fr}.credit-side-summary{min-height:170px}.credit-workspace{gap:13px}.credit-admin-panel{align-items:stretch;flex-direction:column}}
@media(max-width:700px){.header-credit{height:33px;padding:0 9px;font-size:11px}.account-hero{flex-direction:column;align-items:stretch;padding:23px}.account-wallet-preview{border-left:0;border-top:1px solid #ffffff2b;padding:20px 0 0}.account-stats{gap:8px}.account-stats article{padding:15px;min-height:121px}.account-stats strong{font-size:24px}.account-dashboard-panel{padding:16px}.account-page-top,.credit-page-heading{align-items:start}.credit-main-card{padding:25px;min-height:212px}.credit-method-panel{padding:18px;min-height:0}.credit-info-panel{padding:18px}.credit-side-summary h2 br{display:none}}
@media(max-width:460px){.site-header .header-inner{gap:3px}.site-header .header-actions{gap:2px}.header-credit{height:32px;padding:0 6px;font-size:10px;gap:3px}.header-credit svg{width:12px;height:12px}.account-page-top,.credit-page-heading{flex-direction:column;gap:12px}.account-avatar{width:68px;height:68px;font-size:31px;border-radius:17px}.account-stats article>span{display:none}.account-stats article{padding:12px;min-height:100px}.account-stats p{font-size:10px;margin:0 0 8px}.account-stats small{display:block;margin-top:3px;font-size:9px}.account-stats strong{font-size:25px}.credit-amount-picks{gap:7px}.credit-amount-choice{padding:11px 10px}.credit-amount-choice b{font-size:18px}.credit-switch{width:100%}.credit-switch-btn{flex:1;justify-content:center;padding:11px 4px;font-size:11px}.credit-switch-btn svg{width:15px;height:15px}.credit-main-card{padding:20px}.credit-main-top{font-size:9px}.credit-main-amount{font-size:39px}.credit-main-bottom{font-size:9px}.credit-code-visual{gap:10px;padding:14px}.credit-code-visual-symbol{font-size:29px}.credit-code-visual strong{font-size:11px}.credit-code-visual span{font-size:10px}.credit-redeem-form input{font-size:13px;letter-spacing:.5px}.credit-admin-panel form{display:grid;grid-template-columns:1fr 1fr}.credit-admin-panel input{width:100%}.credit-admin-panel .btn{grid-column:1/-1}.credit-back-shop{font-size:11px}}
@media(prefers-reduced-motion:reduce){.account-hero:before{animation:none}.credit-amount-choice,.account-shortcuts>a,.header-credit,.account-stats article{transition:none!important}}

/* FIX STORE V7.2 — professional admin controls */
.admin-users-panel{overflow:hidden}.admin-users-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 2px 20px}.admin-user-search{display:flex;align-items:center;gap:10px;max-width:430px;width:100%;color:#b6bac4}.admin-user-search svg{width:19px;height:19px;flex-shrink:0}.admin-user-search .input{width:100%}.admin-user-identity{display:flex;align-items:center;gap:12px;min-width:190px}.admin-user-identity>span:last-child{display:flex;flex-direction:column;gap:5px}.admin-user-identity small{font-size:10px;color:#838897;max-width:190px;overflow:hidden;text-overflow:ellipsis}.admin-user-avatar{width:38px;height:38px;border:1px solid #393f49;background:linear-gradient(145deg,#363a44,#15171c);border-radius:12px;display:grid;place-items:center;font-weight:800;color:white}.admin-credit-cell{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:700}.admin-role-tag{display:inline-flex;border-radius:99px;padding:5px 10px;border:1px solid #353840;color:#b6bdc9;font-size:11px;font-weight:800;letter-spacing:.06em}.admin-role-tag.is-admin{background:rgba(207,213,224,.1);color:#f3f5f9}.admin-user-table td{vertical-align:middle}.admin-error{margin:12px 0;padding:13px 15px;background:rgba(188,65,68,.1);color:#ffb6ba;border:1px solid rgba(188,65,68,.35);border-radius:12px}.admin-user-modal{max-width:640px;max-height:90vh;overflow-y:auto}.user-manager-balance{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:19px 22px;background:linear-gradient(120deg,#22252d,#14161b);border-radius:16px;border:1px solid #343941;margin-bottom:24px}.user-manager-balance span{color:#a6adba}.user-manager-balance strong{font-size:clamp(23px,4vw,34px);font-weight:800;font-variant-numeric:tabular-nums}.user-form-caption{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:800}.user-form-caption svg{width:19px;height:19px}.user-panel-divider{height:1px;background:#33343a;margin:30px 0}.admin-privacy-note{font-size:11px;color:#8e94a0;margin-top:20px}.api-monitor-hero{padding:25px 30px;background:radial-gradient(ellipse at 85% 0%,#343841 0%,#1b1d22 38%,#101115 76%);border:1px solid #333740;border-radius:22px;display:flex;align-items:center;justify-content:space-between;gap:18px}.api-monitor-hero h2{font-size:clamp(24px,3vw,36px);letter-spacing:-.03em;margin:8px 0}.api-monitor-hero p{color:#a3aab6;margin:0}.api-stat-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:17px 0}.api-stat-card{display:flex;flex-direction:column;gap:10px;padding:23px;background:linear-gradient(140deg,#1b1d23,#101114);border:1px solid #34373f;border-radius:18px}.api-stat-card small{color:#aeb4be}.api-stat-card strong{font-size:clamp(27px,3vw,40px);font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.05em}.api-stat-card span{color:#7f8793;font-size:12px}.api-stat-card .api-checked-time{font-size:clamp(24px,2.3vw,32px)}.api-service{display:flex;align-items:center;gap:16px;padding:19px 4px;border-bottom:1px solid #303139}.api-service:last-child{border-bottom:none}.api-service-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;border:1px solid #363b45;background:#23262c;flex-shrink:0}.api-service-icon svg{width:21px;height:21px}.api-service-desc{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.api-service-desc small{font-size:12px;color:#8f97a3;overflow-wrap:anywhere}.api-service-state{display:inline-flex;align-items:center;gap:8px;border-radius:99px;padding:7px 12px;white-space:nowrap;border:1px solid #373b45;color:#adb3bf;font-size:12px;font-weight:700}.api-service-state i{width:7px;height:7px;border-radius:50%;background:#8a8d94}.api-service-state.online,.api-service-state.configured{border-color:#255945;color:#8aebbc;background:rgba(41,148,93,.09)}.api-service-state.online i,.api-service-state.configured i{background:#52d692;box-shadow:0 0 9px rgba(82,214,146,.4)}.api-service-state.error{border-color:#773b3b;color:#faa8a8}.api-service-state.error i{background:#ff6767}.api-footnote{font-size:12px;line-height:1.6;margin-top:15px}@media(max-width:740px){.api-stat-cards{grid-template-columns:1fr}.api-monitor-hero{flex-direction:column;align-items:flex-start;padding:22px}.api-monitor-hero .btn{width:100%}.admin-user-table{min-width:640px}.api-service{gap:10px}.api-service-icon{width:36px;height:36px}.api-service-state{font-size:10px;padding:6px 8px}.admin-user-modal{max-width:calc(100vw - 22px);max-height:91vh}.admin-users-tools{align-items:stretch}}


/* V7.3 / Product collection — polished detail, compact information, soft movement */
.product-polished{position:relative;isolation:isolate;background:linear-gradient(155deg,#17191e 0%,#0d0f12 75%);border-color:#30343c!important;border-radius:17px!important;box-shadow:0 6px 24px #00000038, inset 0 1px #ffffff0a!important;transition:transform .38s cubic-bezier(.18,.79,.18,1),border-color .35s,box-shadow .35s!important;}
.product-polished::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;z-index:1;background:linear-gradient(125deg,transparent 14%,#ffffff12 51%,transparent 67%);transform:translateX(-72%);transition:opacity .4s,transform .7s cubic-bezier(.18,.79,.18,1)}
@media(hover:hover){.product-polished:hover{transform:translate3d(0,-6px,0);border-color:#727781!important;box-shadow:0 20px 40px #00000077,0 0 0 1px #b8c2d01d,inset 0 1px #ffffff20!important}.product-polished:hover::before{opacity:1;transform:translateX(90%)}.product-polished:hover .product-art>img{transform:scale(1.055)}.product-polished:hover .product-image-action{opacity:1;transform:translateY(0)}}
.product-polished .portrait-image-frame{margin:5px 5px 0;border-radius:12px;isolation:isolate;overflow:hidden}
.product-polished .product-art{aspect-ratio:4/5;position:relative;border-radius:12px;background:radial-gradient(ellipse at 30% 15%,#424953,#171b22 57%,#090b0e);}
.product-polished .product-art::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#02030400 46%,#0506093d 100%);pointer-events:none}
.product-polished .product-art>img{transition:transform .48s cubic-bezier(.2,.75,.2,1);will-change:auto}
.product-polished .portrait-image-price{right:7px;bottom:7px;border-radius:9px;padding:8px 11px;background:linear-gradient(145deg,#12151bee,#07090ded);border:1px solid #ffffff26;box-shadow:0 5px 17px #0008;font-size:16px;color:#f3f5fa;letter-spacing:-.03em;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.product-polished .portrait-featured{top:11px;left:11px;padding:4px 8px 4px 3px;background:#101216d9;backdrop-filter:blur(9px);border:1px solid #f4f4f52c;border-radius:9px;gap:6px;color:#f4f5f8;text-shadow:none}
.product-polished .portrait-featured-icon{box-shadow:none;border-color:#ccccff6c}
.product-polished .portrait-info{gap:7px;padding:12px 13px 14px;min-height:112px}
.product-category-meta{display:block;font-size:10px;font-weight:650;color:#878e99;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-polished .portrait-info h3{font-size:13px!important;line-height:1.58;min-height:41px!important;font-weight:750}
.product-polished .portrait-footer{border-top:1px solid #ffffff12;padding-top:10px;margin-top:auto;min-height:36px}
.product-polished .portrait-add{border-radius:9px;width:31px;height:31px;background:#252a32;border-color:#505866;color:#fff;position:relative;z-index:4}
.product-polished .portrait-add:hover{background:#edf0f5;color:#111317;border-color:#fff;transform:scale(1.08)}
.product-image-action{position:absolute;z-index:4;left:9px;bottom:9px;display:flex;align-items:center;gap:5px;border:1px solid #ffffff36;color:#f4f5f8;background:#101217e8;box-shadow:0 8px 20px #0008;padding:8px 10px;border-radius:8px;font-size:10px;font-weight:750;pointer-events:none;opacity:0;transform:translateY(7px);transition:opacity .28s,transform .28s}
.product-image-action svg{width:13px;height:13px}
.product-polished.product-soldout .product-image-action{display:none}
.product-polished.product-soldout .product-art>img{filter:grayscale(.75) brightness(.59)}
.product-polished.product-soldout .soldout-veil{gap:0;background:linear-gradient(180deg,#0a0b0d13,#07080a8a)}
.product-polished.product-soldout .soldout-caption{display:none} /* no double-language stock label */
.product-polished.product-soldout .soldout-label{border-radius:9px;font-size:12px;letter-spacing:0;padding:9px 13px;background:#15171de8}
.product-polished.product-soldout .portrait-image-price{color:#aeb4bd}
.product-detail-v73{max-width:1180px;margin:5px auto 65px;}
.product-route{display:flex;gap:10px;align-items:center;white-space:nowrap;overflow:hidden;color:#89909a;font-size:11px;margin:12px 0 23px}
.product-route a{color:#afb6c0;flex-shrink:0;transition:color .2s}
.product-route a:hover{color:#fff}
.product-route-current{overflow:hidden;text-overflow:ellipsis;color:#e0e3e8}
.product-spotlight{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);gap:24px;align-items:stretch}
.product-presentation{position:relative;min-width:0;border:1px solid #313740;border-radius:23px;padding:12px;background:linear-gradient(145deg,#1b1e24,#0d0f13 70%);box-shadow:0 20px 60px #00000048,inset 0 1px #ffffff16;overflow:hidden;isolation:isolate}
.product-presentation:before{content:"";pointer-events:none;position:absolute;inset:-45% -90%;background:linear-gradient(110deg,transparent 35%,#ffffff12 49%,transparent 60%);transform:translateX(-40%);transition:transform 1.1s cubic-bezier(.15,.75,.2,1);z-index:3}
@media(hover:hover){.product-presentation:hover:before{transform:translateX(50%)}}
.product-art-stage{position:relative;overflow:hidden;display:grid;place-items:center;min-height:450px;border-radius:16px;background:radial-gradient(ellipse at 40% 30%,#313944 0%,#161a20 50%,#0b0d10 100%);border:1px solid #ffffff0c}
.product-detail-v73 .detail-visual{width:100%;height:100%;min-height:450px;aspect-ratio:1;max-height:590px;border:0;border-radius:16px;background:transparent;position:relative;z-index:2;overflow:hidden;}
.product-detail-v73 .detail-visual>img{object-fit:contain;width:100%;height:100%;padding:15px;transition:transform .5s cubic-bezier(.2,.75,.2,1);filter:drop-shadow(0 20px 38px #0007)}
@media(hover:hover){.product-detail-v73 .product-presentation:hover .detail-visual>img{transform:scale(1.035)}}
.product-stage-glow{position:absolute;pointer-events:none;inset:0;background:radial-gradient(ellipse at 50% 110%,#ffffff12,transparent 56%);z-index:2}
.product-detail-v73 .detail-visual.is-soldout>img{filter:grayscale(.72) brightness(.60)}
.product-detail-v73 .detail-visual .soldout-veil{z-index:4;background:#090b0d69;gap:9px}
.product-detail-v73 .detail-visual .soldout-caption{display:none}
.product-detail-v73 .detail-visual .soldout-label{font-size:15px;letter-spacing:0;background:#15171de6}
.product-image-note{display:flex;align-items:center;gap:8px;padding:14px 8px 3px;color:#8b919d;font:650 9px/1 var(--latin);letter-spacing:1.1px}
.product-note-dot{width:5px;height:5px;border-radius:50%;background:#e3e8ef;box-shadow:0 0 10px #fff9}
.product-image-note-end{margin-left:auto;color:#737b88}
.product-purchase-panel{min-width:0;border:1px solid #333740;border-radius:23px;padding:clamp(24px,3vw,39px);background:radial-gradient(ellipse at 90% 0%,#2a2e3738,transparent 42%),linear-gradient(150deg,#181a1f,#101114 69%);box-shadow:0 20px 60px #00000035,inset 0 1px #ffffff12;display:flex;flex-direction:column}
.product-panel-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:17px}
.product-type-chip,.product-highlight-chip{display:inline-flex;gap:5px;align-items:center;min-height:27px;border-radius:99px;padding:4px 11px;font-size:10px;font-weight:700;border:1px solid #41454e;background:#262a31;color:#dce0e6}
.product-highlight-chip{border-color:#595167;background:#302939;color:#f2e9ff}
.product-purchase-panel h1{font-size:clamp(27px,3.1vw,44px);line-height:1.23;letter-spacing:-.8px;margin:0;color:#f6f7fa;overflow-wrap:anywhere}
.product-description{color:#a5acb7;font-size:13px;line-height:1.95;margin:18px 0 0;white-space:pre-line;overflow-wrap:anywhere}
.product-order-stats{display:flex;gap:9px;flex-wrap:wrap;margin:24px 0 23px}
.product-stock-pill,.product-mode-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid #34453d;border-radius:10px;padding:10px 12px;color:#bce6ce;background:#18231eb0;font-size:11px;font-weight:650}
.product-stock-pill i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#77d4a0;box-shadow:0 0 11px #77d4a08c}
.product-stock-pill.is-empty{background:#261c1f;border-color:#4d3136;color:#eb9fa9}
.product-stock-pill.is-empty i{background:#de8a97;box-shadow:none}
.product-mode-pill{background:#20242b;border-color:#373e48;color:#c5cbd5}
.product-mode-pill svg{height:14px;width:14px}
.product-pricing{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:23px 0;border-top:1px solid #383e48;border-bottom:1px solid #383e48;margin-top:auto}
.product-pricing>div{display:grid;gap:0}
.product-pricing span{font-size:11px;color:#8f97a4;font-weight:600}
.product-pricing strong{font:750 clamp(33px,4vw,46px)/1.25 var(--latin);color:#f8f8fa;letter-spacing:-1px}
.product-price-note{margin-bottom:5px}
.product-purchase-actions{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}
.product-purchase-actions .btn{min-width:0;min-height:53px}
.product-buy-btn{flex:1 1 220px;position:relative;overflow:hidden}
.product-buy-btn:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 34%,#ffffff55 52%,transparent 68%);transform:translateX(-120%);transition:transform .65s ease;pointer-events:none}
@media(hover:hover){.product-buy-btn:hover:not(:disabled):after{transform:translateX(120%)}}
.product-buy-btn svg{width:18px;height:18px}
.product-browse-btn{flex:0 0 auto}
.product-purchase-foot{display:flex;gap:10px 18px;flex-wrap:wrap;padding-top:18px;color:#89929e;font-size:10px;line-height:1.65}
.product-purchase-foot span{display:inline-flex;gap:6px;align-items:center}
.product-purchase-foot svg{height:13px;width:13px;color:#b3d6c0}
.product-related{margin-top:55px;padding-top:25px;border-top:1px solid #2d3137}
.product-related-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:21px}
.product-related-heading h2{font-size:22px;letter-spacing:-.3px;margin:5px 0 0}
.product-related-heading a{display:flex;align-items:center;gap:7px;font-size:11px;color:#c2c8d1;white-space:nowrap}
.product-related-heading svg{width:14px;height:14px}
@media(max-width:960px){.product-spotlight{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.product-purchase-panel{padding:22px}.product-art-stage,.product-detail-v73 .detail-visual{min-height:360px}.product-pricing{padding:17px 0}.product-purchase-actions{margin-top:18px}}
@media(max-width:760px){.product-detail-v73{margin-top:0}.product-route{margin:3px 0 16px}.product-spotlight{grid-template-columns:1fr;gap:15px}.product-presentation{padding:8px;border-radius:18px}.product-art-stage,.product-detail-v73 .detail-visual{min-height:260px;max-height:440px}.product-detail-v73 .detail-visual{aspect-ratio:1.18}.product-purchase-panel{border-radius:18px;padding:22px}.product-purchase-panel h1{font-size:clamp(25px,7vw,33px)}.product-purchase-actions{flex-direction:column}.product-browse-btn,.product-buy-btn{flex:1 1 auto;width:100%}.product-price-note{display:none}.product-order-stats{margin:20px 0}.product-image-note{padding:11px 5px 1px}.product-related{margin-top:34px}}
@media(max-width:460px){.product-polished .portrait-info{padding:10px;min-height:112px}.product-polished .portrait-image-price{font-size:14px;padding:7px 9px}.product-polished .portrait-featured{top:8px;left:8px;font-size:9px}.product-polished .portrait-featured-icon{width:17px;height:17px}.product-image-action{display:none}.product-polished .portrait-footer{align-items:flex-end}.product-pricing strong{font-size:37px}.product-order-stats{flex-direction:column;align-items:start}.product-stock-pill,.product-mode-pill{max-width:100%}}
@media(prefers-reduced-motion:reduce){.product-polished,.product-polished::before,.product-polished .product-art>img,.product-image-action,.product-presentation::before,.product-detail-v73 .detail-visual>img,.product-buy-btn::after{transition:none!important;animation:none!important;transform:none!important}.product-image-action{display:none}}

/* Universal micro-interactions, restrained to transform/opacity for performance */
@media(hover:hover){
 .contact-method,.account-shortcuts>a,.admin-nav>a,.contact-method-link,.credit-amount-choice{transition:transform .25s var(--ease),border-color .25s,background-color .25s,box-shadow .25s}
 .contact-method:hover,.account-shortcuts>a:hover{transform:translateY(-2px);box-shadow:0 12px 28px #00000035}
 .btn:active:not(:disabled),.icon-button:active,.portrait-add:active{transform:translateY(1px) scale(.98)}
}
@media(prefers-reduced-motion:reduce){.page-in,.contact-method,.account-shortcuts>a,.admin-nav>a,.credit-amount-choice{animation:none!important;transition:none!important}}

/* V7.4 cart + promotion upgrade */
.cart-page-upgraded .cart-layout{align-items:start;gap:20px}
.premium-summary{position:sticky;top:96px;padding:22px;border-radius:24px;background:linear-gradient(180deg,#11161fcf,#0d1219e6);border:1px solid #2d3440;box-shadow:0 18px 44px #0000002a}
.summary-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.summary-head h3{margin:0;font-size:20px}
.summary-head span{font-size:12px;color:#96a1af;background:#171e28;border:1px solid #2d3440;padding:7px 10px;border-radius:999px}
.summary .summary-row.discount{color:#8fe0b1}
.cart-discount-box{margin:16px 0;padding:14px;border-radius:18px;background:#121821;border:1px solid #293241}
.discount-toggle-btn{display:inline-flex;align-items:center;gap:8px;border:1px solid #384354;background:#171f2a;color:#f1f4f7;border-radius:999px;padding:9px 13px;font:600 12px/1.2 var(--latin);cursor:pointer}
.discount-toggle-btn svg{width:15px;height:15px}
.discount-inline-form{display:flex;gap:8px;align-items:center;margin-top:12px;flex-wrap:wrap}
.discount-inline-form .mini-btn{min-height:38px}
.discount-inline-input{flex:1 1 220px}
.discount-inline-note{margin:10px 2px 0;color:#8e98a6;font-size:11px;line-height:1.7}
.discount-success{margin-top:10px;padding:10px 12px;border-radius:12px;background:#16301f;border:1px solid #29543a;color:#d0f3dd;font-size:12px;display:flex;align-items:center;gap:8px}
.discount-success svg{width:14px;height:14px}
.promo-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.promo-card .promo-form{display:grid;gap:14px}
.promo-hint-panel{margin-top:18px}
.promo-hint-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.promo-hint-list>div{padding:14px;border-radius:16px;background:#121821;border:1px solid #26303d;display:grid;gap:4px}
.promo-hint-list b{font-size:13px}
.promo-hint-list small{color:#8d98a6;line-height:1.65}
@media(max-width:980px){.promo-admin-grid{grid-template-columns:1fr}.promo-hint-list{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.premium-summary{position:static;top:auto}.discount-inline-form{flex-direction:column;align-items:stretch}.discount-inline-input{width:100%}.promo-hint-list{grid-template-columns:1fr}}


/* FIX STORE V7.5 — square 1040×1040 covers, uncropped banner, accessible mobile layout */
html{scroll-padding-top:82px;-webkit-text-size-adjust:100%}
html,body{max-width:100%;overflow-x:hidden;overflow-x:clip}
body{-webkit-tap-highlight-color:transparent;touch-action:pan-y}
img{max-width:100%}
/* Display the original banner fully: its intrinsic ratio is 2048:682 (~3.003:1). */
.hero-banner{height:auto!important;aspect-ratio:auto!important;display:block;line-height:0;overflow:hidden;border-radius:18px}
.hero-banner img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:2048/682;object-fit:contain!important;object-position:center!important;transform:none!important;transition:filter .3s ease!important}
@media(hover:hover){.hero-banner:hover img{transform:none!important;filter:brightness(1.07)}}
/* All catalog cards have a consistent square photo and a compact metadata section. */
.product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;align-items:stretch}
.product-card.portrait-card.product-polished{display:flex;flex-direction:column;min-width:0;height:100%;border-radius:17px!important}
.product-polished .portrait-image-frame{width:calc(100% - 10px);aspect-ratio:1/1!important;height:auto!important;flex:0 0 auto;margin:5px 5px 0;overflow:hidden;border-radius:13px}
.product-polished .product-image-link{display:block;width:100%;height:100%}
.product-polished .product-art,.portrait-card .product-art{aspect-ratio:1/1!important;width:100%;height:100%;min-height:0!important;border-radius:13px;position:relative}
.product-polished .product-art>img,.portrait-card .product-art>img{width:100%;height:100%;object-fit:contain!important;object-position:center!important;max-height:100%;display:block}
.product-polished .portrait-info{flex:1;gap:8px;padding:11px 12px 12px;min-height:106px!important}
.product-polished .portrait-info h3{min-height:0!important;height:40px;line-height:1.5!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.product-polished .portrait-footer{margin-top:auto;min-height:33px;padding-top:8px;align-items:center}
.product-polished .portrait-facts{min-width:0;line-height:1.5}
.product-polished .portrait-add{width:35px!important;height:35px!important;min-width:35px;min-height:35px}
.product-polished .portrait-image-price{font-size:clamp(12px,1.3vw,17px);bottom:7px;right:7px}
/* Detail cover is square, even on phones; no image cropping. */
.product-art-stage{min-height:0;aspect-ratio:1/1}
.product-detail-v73 .detail-visual{width:100%!important;min-height:0!important;max-height:none!important;aspect-ratio:1/1!important;height:100%!important}
.product-detail-v73 .detail-visual>img{object-fit:contain!important;object-position:center!important;padding:clamp(8px,2vw,18px)}
.product-detail-v73 .product-presentation{align-self:start}
/* Mobile safe area and easy navigation for Safari and Chrome */
.mobile-bottom-bar{display:none}
@media(max-width:1190px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:950px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){
 .mobile-bottom-bar{position:fixed;bottom:0;inset-inline:0;z-index:60;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;background:rgba(13,15,19,.97);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:1px solid #323842;padding:6px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));box-shadow:0 -12px 30px #0009}
 .mobile-bottom-bar>a{min-width:0;min-height:50px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;border-radius:12px;color:#9199a6;font-size:10px;font-weight:650;line-height:1.2;transition:color .18s,background .18s}
 .mobile-bottom-bar>a svg{width:21px;height:21px}
 .mobile-bottom-bar>a.active{background:#262b33;color:#f7f9fb}
 .mobile-bottom-bar>a:focus-visible{outline-offset:-3px}
 .main{padding-bottom:28px!important}
 .site-footer{margin-bottom:calc(63px + env(safe-area-inset-bottom))}
 .mobile-keyboard-active .mobile-bottom-bar{display:none}
 .site-header .mobile-nav:not([hidden]){position:absolute!important;max-height:min(70dvh,510px);overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:65}
 .site-header .header-inner{min-width:0}
 .header-actions{min-width:0}
 .product-spotlight{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
 .product-detail-v73 .product-art-stage,.product-detail-v73 .detail-visual{min-height:0!important}
 .shop-tools{align-items:stretch}
}
@media(max-width:760px){
 .shell{width:calc(100% - 28px)!important;max-width:100%}
 .hero-banner{width:calc(100% + 28px)!important;margin-inline:-14px;border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:0 12px 38px #0009}
 .hero-banner img{aspect-ratio:2048/682;object-fit:contain!important}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 .product-spotlight{grid-template-columns:1fr!important}
 .product-presentation{padding:8px}
 .product-polished .portrait-info{min-height:101px!important;padding:9px 10px 10px}
 .product-polished .portrait-info h3{height:38px;line-height:1.45!important;font-size:12px!important}
 .product-polished .portrait-footer{min-height:32px}
 .product-polished .portrait-image-price{padding:6px 8px;font-size:14px}
 .shop-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
 .search-wrap{min-width:0;width:100%}
 .shop-tools .sort-select{width:128px;min-width:0}
 .filters,.category-pills{max-width:100%;overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;padding-bottom:7px;scrollbar-width:none}
 .filters::-webkit-scrollbar,.category-pills::-webkit-scrollbar{display:none}
 .section-head{flex-wrap:wrap;align-items:flex-start;gap:12px}
 .section-head .btn{max-width:100%}
 .cart-line{grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:start}
 .cart-thumbnail{width:72px;height:72px;aspect-ratio:1/1}
 .cart-line-end{grid-column:2;display:flex;align-items:center;justify-content:space-between;width:100%}
 .modal-backdrop{padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}
 .modal,.wallet-modal,.order-detail-modal{max-width:100%!important;max-height:calc(100dvh - 32px);overflow:auto;-webkit-overflow-scrolling:touch}
 .auth-panel,.auth-inner,.credit-method-panel{min-width:0}
 .product-purchase-actions .btn{white-space:normal;text-align:center}
}
@media(max-width:460px){
 .site-header .header-inner{width:calc(100% - 16px)!important;padding-inline:4px!important;gap:3px}
 .site-header .brand{gap:4px}
 .site-header .brand img{width:36px!important;height:36px!important}
 .site-header .brand strong{font-size:13px!important;letter-spacing:-.3px}
 .site-header .header-actions{gap:2px}
 .site-header .contact-link,.site-header .menu-button{min-width:38px;width:38px!important;height:42px!important}
 .site-header .login-shortcut{min-width:38px!important;width:38px!important;height:42px!important;padding:0!important;display:grid;place-items:center}
 .site-header .login-shortcut svg{display:block!important;width:19px;height:19px}
 .site-header .login-shortcut #account-label{display:none}
 .site-header #header-credit{padding:0 5px;font-size:10px;min-width:0;height:37px}
 .site-header #header-credit svg{display:none}
 .site-header .cart-link{display:none!important}/* cart stays accessible in bottom nav */
 .product-polished .portrait-info{min-height:101px!important;padding:9px 9px 10px}
 .product-polished .portrait-featured{font-size:9px;max-width:calc(100% - 16px)}
 .product-polished .portrait-featured-icon{flex-shrink:0}
 .product-polished .portrait-image-price{font-size:13px;padding:6px 7px}
 .shop-tools{grid-template-columns:1fr}
 .shop-tools .sort-select{width:100%}
 .category-header{gap:12px}
 .product-detail-v73 .product-route{overflow-x:auto;white-space:nowrap}
 .credit-amount-picks{grid-template-columns:repeat(3,minmax(0,1fr))}
 .footer-compact{align-items:flex-start}
}
/* Safari iOS avoids zooming when inputs are focused. */
@media(hover:none) and (pointer:coarse){input,textarea,select{font-size:16px!important}.btn,.mini-btn,.icon-button,.portrait-add,.discount-toggle-btn{touch-action:manipulation}}
@media(prefers-reduced-motion:reduce){.hero-banner img,.mobile-bottom-bar>a,.product-polished,.product-polished .product-art>img{animation:none!important;transition:none!important}}

/* FIX STORE V7.6 — separate code generators and dark native controls
   Keeps native select semantics, including iOS VoiceOver and Android TalkBack. */
:root{color-scheme:dark;--scroll-track:#17191d;--scroll-thumb:#777d85;--select-focus:#9bbde7}
html{scrollbar-color:var(--scroll-thumb) var(--scroll-track);scrollbar-width:thin}
*{scrollbar-color:var(--scroll-thumb) var(--scroll-track);scrollbar-width:thin}
/* Chromium / Safari desktop scrollbar palette. On iOS scrollbars remain the OS overlay. */
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-track{background:var(--scroll-track);border-radius:20px}
::-webkit-scrollbar-thumb{border:2px solid var(--scroll-track);background-color:var(--scroll-thumb);border-radius:20px;min-height:36px}
::-webkit-scrollbar-thumb:hover{background-color:#a3aab3}
::-webkit-scrollbar-corner{background:var(--scroll-track)}
@media (hover:hover) and (pointer:fine){
  ::-webkit-scrollbar-button:single-button{height:12px;width:12px;background-color:#25272d}
  ::-webkit-scrollbar-button:single-button:vertical:decrement{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 8 6 4l3 4' fill='none' stroke='%23d0d3d8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat}
  ::-webkit-scrollbar-button:single-button:vertical:increment{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 4 3-4' fill='none' stroke='%23d0d3d8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat}
}
/* Dark select menu like the supplied screenshot, retaining native keyboard & touch interaction. */
select:not([multiple]):not([size]){
  -webkit-appearance:none;appearance:none;
  background-color:#15181e;color:#f2f4f6;cursor:pointer;
  border:1px solid #4d5562;border-radius:11px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23e4e6eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position:right 12px center;background-size:16px 16px;background-repeat:no-repeat;
  padding-right:38px!important;min-height:44px;
  box-shadow:0 1px 0 #ffffff08 inset;
  transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
select:not([multiple]):not([size]):hover{border-color:#788495;background-color:#191e26}
select:not([multiple]):not([size]):focus-visible{border-color:var(--select-focus);outline:2px solid #a3cdfd3f;outline-offset:1px;box-shadow:0 0 0 4px #5697de13}
select:not([multiple]):not([size]):disabled{opacity:.5;cursor:not-allowed}
select option,select optgroup{background-color:#17191e;color:#f1f3f6}
select option:checked{background-color:#91bcf6;color:#0b1525}
select option:disabled{color:#7a818c}
/* Page layouts: each independent admin menu has its own form and help panel. */
.promo-v76-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:4px 0 24px;flex-wrap:wrap}
.promo-v76-heading h2{font-size:clamp(21px,2.5vw,28px);line-height:1.25;margin:7px 0 9px;color:#f8f9fb;letter-spacing:-.5px}
.promo-v76-heading p{color:#969eaa;margin:0;font-size:13px;max-width:600px;line-height:1.85}
.promo-v76-layout{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(230px,.8fr);gap:18px;align-items:start}
.promo-v76-form{border:1px solid #343a43;border-radius:20px;padding:24px;background:linear-gradient(160deg,#1a1d23,#12151a 78%);box-shadow:0 16px 48px #0003}
.promo-v76-card-head{display:flex;align-items:center;gap:14px;margin-bottom:27px;padding-bottom:22px;border-bottom:1px solid #343a43}
.promo-v76-card-icon{width:47px;height:47px;display:grid;place-items:center;flex:none;border:1px solid #4e5661;border-radius:15px;color:#f6f8fc;background:linear-gradient(145deg,#333841,#1a1d25)}
.promo-v76-card-icon svg{width:22px;height:22px}
.promo-v76-card-head span{font:700 10px var(--latin);letter-spacing:1.6px;color:#929ba8}
.promo-v76-card-head h3{font-size:19px;font-weight:750;letter-spacing:-.3px;margin:5px 0 0}
.promo-v76-form .promo-form{display:grid;gap:20px}
.promo-v76-form .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.promo-v76-form label{display:grid;gap:8px;font-size:12px;font-weight:650;color:#d2d7df}
.promo-v76-form input,.promo-v76-form select{width:100%;min-height:47px;box-sizing:border-box;border-radius:10px;border:1px solid #3e464f;background-color:#11151b;color:#fafbfc;font-size:14px}
.promo-v76-form input:focus-visible{border-color:#aab8c9;outline:2px solid #b6c9df3b;outline-offset:1px}
.promo-v76-action{border-top:1px solid #30363f;padding-top:19px}
.promo-v76-action .btn{min-height:48px;width:100%;justify-content:center;gap:10px}
.promo-v76-aside{padding:25px;border:1px solid #30363e;background:linear-gradient(155deg,#15191e,#101318);border-radius:20px}
.promo-v76-aside h3{font-size:19px;margin:12px 0 17px}
.promo-v76-aside ol{list-style:none;counter-reset:step;padding:0;margin:0;display:grid;gap:14px}
.promo-v76-aside li{counter-increment:step;display:flex;gap:11px;align-items:flex-start;line-height:1.7;color:#c4cad3;font-size:12px}
.promo-v76-aside li::before{content:counter(step,decimal-leading-zero);display:grid;place-items:center;border-radius:10px;width:29px;height:29px;flex:none;background:#242a33;color:#f6f7fa;border:1px solid #3a4350;font:700 11px var(--latin)}
.promo-v76-aside>p{margin:22px 0 0;padding-top:17px;border-top:1px solid #30363e;line-height:1.75;color:#8792a0;font-size:11px}
.promo-v76-rules{display:grid;gap:8px}
.promo-v76-rules>div{background:#1b2027;border:1px solid #343b46;padding:12px 13px;border-radius:12px;display:grid;gap:5px}
.promo-v76-rules b{font-size:12px;color:#eef0f4}
.promo-v76-rules small{font-size:11px;color:#9ba5b2;line-height:1.6}
.credit-admin-shortcut{margin-top:22px;display:flex;align-items:center;flex-wrap:wrap;gap:10px;border-radius:14px;padding:14px;background:#161b23;border:1px solid #303844}
.credit-admin-shortcut>span{font:700 10px var(--latin);letter-spacing:1px;color:#98a1b1;margin-right:auto}
.credit-admin-shortcut a{border:1px solid #515965;border-radius:9px;padding:9px 11px;background:#242a33;font-size:12px;font-weight:650;display:inline-flex;align-items:center;gap:8px}
.credit-admin-shortcut a svg{width:13px;height:13px}
.credit-admin-shortcut a:hover{background:#323943}
@media(max-width:1080px){.promo-v76-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.promo-v76-heading{margin-top:4px}.promo-v76-layout{gap:13px}.promo-v76-form,.promo-v76-aside{padding:18px;border-radius:16px}.promo-v76-form .form-row{grid-template-columns:minmax(0,1fr)}.promo-v76-action .btn{min-height:50px}.credit-admin-shortcut>a{flex:1 1 160px;justify-content:center}}
@media(hover:none) and (pointer:coarse){select:not([multiple]):not([size]){font-size:16px!important;min-height:46px}select option{font-size:16px}/* Native iOS/Android picker uses system UI for accessible options. */}
@media(prefers-reduced-motion:reduce){select:not([multiple]):not([size]),.promo-v76-action .btn{transition:none!important}}


/* FIX STORE V7.7 • Unified confirmations, notifications and polished interactions */
:root{--fx-chrome:#d8dee7;--fx-edge:#3b424e;--fx-night:#0e1118;--fx-shimmer:rgba(226,234,245,.2)}
#toast-area.toast-area{position:fixed;z-index:5100;right:clamp(12px,2vw,28px);bottom:clamp(14px,2vw,28px);width:min(395px,calc(100vw - 26px));display:grid;gap:10px;pointer-events:none}
.fx-toast{position:relative;isolation:isolate;display:flex;gap:12px;align-items:flex-start;min-width:0;padding:14px 38px 17px 14px;border:1px solid #566173;border-radius:17px;background:linear-gradient(125deg,rgba(38,43,52,.98),rgba(17,20,27,.98));color:#f4f7fc;box-shadow:0 16px 48px #000b,0 1px 0 #ffffff20 inset;overflow:hidden;pointer-events:auto;animation:fxToastEnter .38s cubic-bezier(.18,.88,.32,1.2) both;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.fx-toast.ok{border-left:3px solid #8bd5a7}.fx-toast.error{border-left:3px solid #fb8c8c}.fx-toast.warning{border-left:3px solid #f0c375}.fx-toast.info{border-left:3px solid #9bc6ef}
.fx-toast-icon{width:35px;height:35px;flex:0 0 35px;border-radius:11px;background:linear-gradient(135deg,#f8fafc20,#ffffff08);border:1px solid #ffffff1c;display:grid;place-items:center;color:#c9f6d9;font-size:17px;font-weight:700}
.fx-toast.error .fx-toast-icon{color:#ffc0c0}.fx-toast.warning .fx-toast-icon{color:#ffe6b7}.fx-toast.info .fx-toast-icon{color:#b2d8ff}
.fx-toast-icon svg{width:19px;height:19px}
.fx-toast-content{display:grid;gap:5px;min-width:0;padding:1px 0 3px;line-height:1.45}
.fx-toast-content strong{font-size:12px;letter-spacing:.08px;color:#f9fafb}
.fx-toast-message{font-size:12px;line-height:1.75;color:#bfc8d4;overflow-wrap:anywhere;white-space:pre-line}
.fx-toast-close{position:absolute;right:9px;top:8px;width:27px;height:27px;border-radius:8px;background:transparent;border:0;color:#dce4ef;font-size:18px;line-height:1;cursor:pointer}
.fx-toast-close:hover{background:#ffffff15}
.fx-toast-progress{position:absolute;bottom:0;left:0;height:2px;width:100%;background:linear-gradient(90deg,#abb6c8,#f6f7fa);transform-origin:left;animation:fxToastProgress 5.4s linear both}
.fx-toast.leaving{animation:fxToastExit .25s ease both}
@keyframes fxToastEnter{from{opacity:0;transform:translate3d(24px,12px,0) scale(.97)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes fxToastExit{to{opacity:0;transform:translate3d(22px,0,0) scale(.97)}}
@keyframes fxToastProgress{to{transform:scaleX(0)}}
.fx-confirm-backdrop{position:fixed;z-index:5000;inset:0;padding:18px;padding-bottom:max(18px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;background:rgba(3,5,9,.79);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);animation:fxDialogFade .22s ease both}
.fx-confirm-panel{width:min(420px,100%);max-height:min(90dvh,660px);overflow:auto;position:relative;background:linear-gradient(148deg,#20252e,#12151c 58%,#0e1117);border:1px solid #535c69;border-radius:23px;padding:27px;box-shadow:0 35px 120px #000d,0 1px 0 #ffffff26 inset;animation:fxDialogRise .32s cubic-bezier(.2,.76,.3,1) both;color:#eef1f6}
.fx-confirm-panel::before{content:"";position:absolute;left:16px;right:16px;top:0;height:1px;background:linear-gradient(90deg,transparent,#eef5ff97,transparent);pointer-events:none}
.fx-confirm-top{display:flex;align-items:center;gap:14px}
.fx-confirm-mark{width:51px;height:51px;border-radius:16px;display:grid;place-items:center;flex:0 0 51px;background:linear-gradient(140deg,#dadee7,#929eae);color:#10151d;box-shadow:0 8px 25px #ffffff18;font-size:25px;font-weight:800}
.fx-confirm-mark.danger{background:linear-gradient(145deg,#ffbbb9,#e57d83);color:#330c18;box-shadow:0 8px 25px #d65c7424}
.fx-confirm-top small{display:block;color:#a2abb8;font:700 9px/1.7 var(--latin);letter-spacing:1.75px}
.fx-confirm-top h2{margin:5px 0 0;font-size:clamp(19px,5vw,23px);line-height:1.35;letter-spacing:-.6px}
.fx-confirm-message{padding:19px 0 20px;white-space:pre-line;line-height:1.88;color:#b9c1cc;font-size:13px;overflow-wrap:anywhere;margin:0}
.fx-confirm-footnote{padding:11px 13px;border-radius:12px;border:1px solid #404854;background:#111620;color:#9faebe;font-size:11px;line-height:1.75;margin-bottom:20px}
.fx-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.fx-confirm-actions button{min-height:46px;border-radius:12px;padding:9px 13px;cursor:pointer;font:700 13px var(--font);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.fx-confirm-actions button:active{transform:scale(.975)}
.fx-confirm-cancel{background:#1b2028;color:#d7dde6;border:1px solid #444c58}
.fx-confirm-cancel:hover{border-color:#8b96a5;background:#242b36}
.fx-confirm-approve{border:1px solid #fff;color:#15181d;background:linear-gradient(130deg,#f9fafb,#d1d6df);box-shadow:0 8px 30px #c5d0e11a}
.fx-confirm-approve:hover{box-shadow:0 8px 30px #e8effc35}
.fx-confirm-approve.danger{color:#1e0e13;background:linear-gradient(130deg,#ffd0d0,#f28e98);border-color:#ffc3c6}
.fx-confirm-actions button:focus-visible,.fx-toast-close:focus-visible{outline:3px solid #96bfff;outline-offset:3px}
@keyframes fxDialogFade{from{opacity:0}to{opacity:1}}
@keyframes fxDialogRise{from{opacity:0;transform:translate3d(0,20px,0) scale(.98)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
/* Responsive chrome/silver micro-effects: animate transforms and opacity, never large backdrop filters per frame. */
@keyframes fxPageLift{from{opacity:.5;transform:translate3d(0,11px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
.page-in{animation:fxPageLift .43s cubic-bezier(.19,.8,.29,1) both}
@media(hover:hover) and (pointer:fine){
 .product-polished,.portrait-card,.glass:not(.modal):not(.admin-nav),.account-stats article{transition:transform .28s cubic-bezier(.2,.72,.2,1),border-color .28s,box-shadow .3s}
 .product-polished:hover,.portrait-card:hover{transform:translate3d(0,-4px,0);border-color:#788392;box-shadow:0 20px 46px #0008,0 0 0 1px #ffffff0d}
 .glass:not(.modal):not(.admin-nav):not(.product-purchase-panel):hover{border-color:#444c59}
 .btn-primary:hover:not(:disabled),.auth-submit:hover:not(:disabled){box-shadow:0 15px 38px #b8c4d62e;transform:translate3d(0,-2px,0)}
 .btn-ghost:hover:not(:disabled),.mini-btn:hover:not(:disabled){transform:translate3d(0,-1px,0)}
 .category-card:hover{box-shadow:0 22px 52px #000a,0 0 0 1px #d7dfea2a}
 .admin-nav a:hover{background:#ffffff0d}
}
:where(a,button,input,select,textarea):focus-visible{outline:2px solid #a5c8ff;outline-offset:3px}
:where(button,input,select,textarea):disabled{cursor:not-allowed}
@media(max-width:680px){
 #toast-area.toast-area{right:12px;left:12px;width:auto;bottom:calc(82px + env(safe-area-inset-bottom,0px))}
 .fx-toast{padding:13px 34px 16px 12px;border-radius:15px}
 .fx-toast-content{font-size:12px}
 .fx-confirm-panel{padding:20px 19px;border-radius:20px;max-height:calc(100dvh - 46px)}
 .fx-confirm-actions button{min-height:49px}
 .page-in{animation-duration:.29s}
}
@media(prefers-reduced-motion:reduce){.fx-confirm-backdrop,.fx-confirm-panel,.fx-toast,.fx-toast.leaving,.fx-toast-progress,.page-in{animation:none!important;transition:none!important}.fx-toast-progress{display:none}}

/* FIX STORE V7.8 — wallet as a two-step flow (not switch tabs) */
.wallet-choice-page{max-width:920px;min-width:0;margin:clamp(15px,3vw,33px) auto 0}
.wallet-choice-heading{text-align:center;margin:6px 0 26px}
.wallet-choice-heading .eyebrow{display:inline-block;margin-bottom:12px}
.wallet-choice-heading h1{font-size:clamp(29px,4vw,44px);line-height:1.2;letter-spacing:-1px;margin:0 0 12px;font-weight:800;color:#f5f6fa}
.wallet-choice-heading p{font-size:13px;color:#a7adba;line-height:1.75;margin:0}
.fx-wallet-balance{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #414954;background:linear-gradient(115deg,#222932,#12161c 62%,#11141a);border-radius:20px;padding:23px 26px;overflow:hidden;isolation:isolate;margin-bottom:20px;box-shadow:inset 0 1px 0 #ffffff24,0 14px 34px #0004}
.fx-wallet-balance:before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;border:1px solid #ffffff0c;right:-20px;bottom:-205px;pointer-events:none;z-index:-1}
.fx-wallet-balance>div:first-child{display:grid;gap:7px}
.fx-wallet-balance small{font-size:12px;font-weight:600;color:#a7b0bd}
.fx-wallet-balance strong{font:800 clamp(29px,3.6vw,40px)/1.2 var(--latin);color:#f3f5fa;letter-spacing:-1px}
.fx-wallet-account{display:flex;align-items:center;gap:10px;color:#d6dce6;font-weight:700;font-size:12px;min-width:0}
.fx-wallet-account img{width:38px;height:38px;object-fit:contain;border-radius:10px}
.fx-wallet-account span{overflow:hidden;text-overflow:ellipsis;max-width:130px;white-space:nowrap}
.wallet-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.wallet-option-card{display:flex;flex-direction:column;min-height:260px;padding:27px;position:relative;isolation:isolate;overflow:hidden;border:1px solid #373f4b;border-radius:22px;background:linear-gradient(155deg,#1b2029 0%,#141821 57%,#0d1118 100%);color:#f7f8fb;text-decoration:none;box-shadow:0 16px 38px #0005,inset 0 1px 0 #ffffff0f;transition:transform .28s cubic-bezier(.18,.83,.24,1),border-color .28s,box-shadow .28s}
.wallet-option-card:before{content:"";position:absolute;pointer-events:none;inset:0;background:linear-gradient(118deg,transparent 45%,rgba(255,255,255,.08),transparent 68%);transform:translateX(-130%);transition:transform .6s ease;z-index:-1}
.wallet-option-symbol{width:56px;height:56px;display:grid;place-items:center;border:1px solid #596475;border-radius:17px;background:linear-gradient(130deg,#343d49,#151a23);box-shadow:0 10px 26px #0006;color:#f3f5fb;margin-bottom:21px}
.wallet-option-symbol svg{width:26px;height:26px}
.wallet-option-type{font:700 10px var(--latin);letter-spacing:1.65px;color:#8c98aa;margin-bottom:8px}
.wallet-option-card strong{font-size:clamp(21px,2.3vw,28px);letter-spacing:-.5px;margin:0 0 9px}
.wallet-option-card small{color:#aab4c2;font-size:12px;line-height:1.85;max-width:310px}
.wallet-option-cta{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:22px;font-size:12px;font-weight:800;color:#eaf0f7}
.wallet-option-cta svg{width:17px;height:17px;transition:transform .2s}
@media(hover:hover) and (pointer:fine){.wallet-option-card:hover{transform:translateY(-5px);border-color:#9aa7b9;box-shadow:0 22px 48px #0008,0 0 0 1px #dce7f122}.wallet-option-card:hover:before{transform:translateX(130%)}.wallet-option-card:hover .wallet-option-cta svg{transform:translateX(5px)}}
.fx-wallet-method-page{max-width:1060px}
.fx-wallet-method-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}
.fx-wallet-back{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:#e3e7ee;background:#151a21;border:1px solid #333c49;border-radius:12px;padding:10px 15px;font-weight:700;font-size:12px;transition:background .2s,border-color .2s}
.fx-wallet-back:hover{background:#242c36;border-color:#768394}
.fx-wallet-workspace{grid-template-columns:minmax(0,1.28fr) minmax(270px,.8fr)}
.fx-wallet-method-page .credit-page-heading{margin-bottom:22px}
.fx-wallet-method-page .fx-wallet-balance{padding:18px 23px;margin-bottom:20px}
.fx-wallet-method-page .fx-wallet-balance strong{font-size:clamp(26px,3vw,34px)}
.fx-wallet-method-page .credit-method-panel{min-height:370px}
/* Hide legacy switch UI if older markup is cached before upgrade. */
.fx-wallet-method-page .credit-switch,.wallet-choice-page .credit-switch{display:none!important}
@media(max-width:850px){.fx-wallet-workspace{grid-template-columns:1fr}}
@media(max-width:650px){.wallet-choice-page{margin-top:13px}.wallet-choice-heading{margin-bottom:19px}.wallet-choice-grid{grid-template-columns:1fr;gap:12px}.wallet-option-card{min-height:190px;padding:21px}.wallet-option-symbol{width:48px;height:48px;margin-bottom:15px;border-radius:14px}.wallet-option-symbol svg{width:22px;height:22px}.wallet-option-cta{padding-top:14px}.fx-wallet-balance{padding:18px 20px}.fx-wallet-method-top{flex-wrap:wrap}.fx-wallet-method-top .eyebrow{font-size:9px}}
@media(max-width:430px){.wallet-choice-heading h1{font-size:30px}.wallet-option-card{min-height:178px}.wallet-choice-page .fx-wallet-balance{gap:9px}.fx-wallet-account{gap:5px}.fx-wallet-account img{width:26px;height:26px}.fx-wallet-account span{font-size:10px;max-width:95px}.fx-wallet-method-page .credit-page-heading h1{font-size:28px}}
@media(prefers-reduced-motion:reduce){.wallet-option-card,.wallet-option-card:before,.wallet-option-cta svg,.fx-wallet-back{animation:none!important;transition:none!important;transform:none!important}}

/* V7.9 — Catalog controls: dedicated rows prevent search/sort/size filters
   from visually overlapping the category chips on iOS and Android. */
.shop-top .catalog-control-panel{
  display:grid;grid-template-columns:minmax(0,1fr);gap:17px;min-width:0;
  margin:22px 0 22px;padding:18px 20px;border-radius:18px;
  border:1px solid #313843;background:linear-gradient(180deg,#171b22,#101318);
  box-shadow:0 10px 30px #00000021;isolation:isolate;
}
.shop-top .catalog-control-panel .shop-tools{
  display:grid;grid-template-columns:minmax(0,1fr) 178px;gap:12px;
  min-width:0;width:100%;margin:0;align-items:center;
}
.shop-top .catalog-control-panel .search-wrap{width:100%;max-width:none;min-width:0}
.shop-top .catalog-control-panel .search-wrap .input,
.shop-top .catalog-control-panel .sort-select{
  display:block;position:relative;z-index:1;box-sizing:border-box;
  width:100%;min-width:0;max-width:100%;min-height:45px;
  border-radius:11px;border:1px solid #3d4551;background-color:#10141b;
  color:#e5eaf2;font-size:13px;
}
.shop-top .catalog-control-panel .sort-select{
  appearance:auto;-webkit-appearance:menulist;color-scheme:dark;padding-inline:10px;
}
.shop-top .catalog-category-block{display:grid;gap:11px;min-width:0;width:100%;border-top:1px solid #2b3039;padding-top:15px}
.shop-top .catalog-category-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:#e4e8ef}
.shop-top .catalog-category-heading span{font-weight:650;font-size:13px}
.shop-top .catalog-category-heading small{color:#828c9d;font-size:11px}
.shop-top .catalog-category-block .filters{display:block;min-width:0;max-width:100%;width:100%;overflow:visible;padding:0;margin:0}
.shop-top .catalog-category-block .category-pills{display:flex;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%;overflow:visible;padding:0;margin:0}
.shop-top .catalog-category-block .pill{min-height:36px;min-width:0;max-width:100%;border-radius:10px;white-space:nowrap;padding:9px 12px;font-size:12px}
.shop-top .shop-list-head{margin-top:4px;min-height:39px}
.shop-top .shop-list-head .stock-filters{min-width:0}
.shop-top .shop-list-head .stock-filter{min-height:37px}
/* category heading and search must never share space in landscape phones */
.home-v5 .category-header > div:first-child{min-width:0;flex:1}
.home-v5 .category-search{box-sizing:border-box;min-width:0;flex:0 1 330px}
.home-v5 .category-section-title{min-width:0;flex-wrap:wrap;row-gap:8px}
.home-v5 .category-section-title strong{min-width:0}
/* quiet, functional code-redemption screen rather than a decorative mock gift card */
.fx-wallet-workspace.is-code{grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);align-items:start}
.fx-wallet-workspace.is-code .credit-method-panel{padding:clamp(20px,3vw,32px)}
.fx-wallet-workspace.is-code .credit-method-head h2{font-size:clamp(21px,2.3vw,28px)}
.fx-wallet-workspace.is-code .wallet-redeem-caption{font-size:12px;line-height:1.75;color:#a2abb6;margin:6px 0 18px}
.fx-wallet-workspace.is-code .credit-redeem-form{display:grid;gap:12px}
.fx-wallet-workspace.is-code .credit-redeem-form input{font:600 15px/1.3 var(--latin);letter-spacing:.03em}
.fx-wallet-workspace.is-code .credit-main-btn{max-width:100%}
/* Small SVG-only voucher opener: don't reserve a full-width promo button. */
.cart-discount-box{display:flex;flex-direction:column;gap:0;align-items:flex-start;min-width:0;padding:10px 11px;margin:14px 0;background:#11161d;border-radius:13px}
.discount-toggle-btn.icon-only{display:grid;place-items:center;width:40px;height:38px;min-width:40px;min-height:38px;padding:0;background:#1b222c;color:#e9eef7;border:1px solid #414b59;border-radius:11px;transition:background-color .18s,border-color .18s,transform .18s}
.discount-toggle-btn.icon-only svg{width:19px;height:19px}
.discount-toggle-btn.icon-only:hover,.discount-toggle-btn.icon-only[aria-expanded="true"]{background:#333c49;border-color:#a1acba;color:white}
.discount-inline-form{width:100%;margin-top:11px}
.discount-inline-input{min-width:0}
.premium-summary .summary-head h3{font-weight:700}
/* Consistent focused control affordance */
:where(.discount-toggle-btn,.catalog-category-block button,.stock-filters button,.wallet-option-card):focus-visible{outline:2px solid #c5d8ef;outline-offset:3px}
@media(max-width:900px){
 .fx-wallet-workspace.is-code{grid-template-columns:minmax(0,1fr)}
 .shop-top .catalog-category-block .category-pills{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;padding:2px 2px 10px;scrollbar-width:none}
 .shop-top .catalog-category-block .category-pills::-webkit-scrollbar{display:none}
 .shop-top .catalog-category-block .pill{flex:0 0 auto;scroll-snap-align:start}
}
@media(max-width:760px){
 .shop-top .catalog-control-panel{padding:13px;gap:14px;margin:17px 0 18px;border-radius:15px}
 .shop-top .catalog-control-panel .shop-tools{grid-template-columns:minmax(0,1fr) 132px;gap:9px;display:grid;flex-wrap:initial}
 .shop-top .catalog-control-panel .shop-tools .sort-select{width:100%;min-height:46px;padding:0 6px;font-size:12px}
 .shop-top .catalog-category-block{padding-top:13px;gap:9px}
 .shop-top .shop-list-head{display:grid;gap:12px;grid-template-columns:minmax(0,1fr);align-items:start}
 .shop-top .shop-list-head .stock-filters{display:flex;flex-wrap:wrap;gap:7px}
 .shop-top .shop-list-head .stock-filter{flex:0 0 auto}
 .home-v5 .category-header{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
 .home-v5 .category-search{width:100%;max-width:100%;min-width:0;height:46px;flex:initial}
}
@media(max-width:420px){
 .shop-top .catalog-control-panel .shop-tools{grid-template-columns:minmax(0,1fr)}
 .shop-top .catalog-category-heading small{font-size:10px}
 .shop-top .catalog-control-panel .sort-select{min-height:44px}
 .shop-top .catalog-control-panel .shop-tools .sort-select{width:100%}
 .shop-top .catalog-category-block .pill{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.discount-toggle-btn.icon-only{transition:none!important}}

/* FIX STORE V8.0 — streamlined catalog + QR payment dialog */
.shop-top .catalog-control-panel{
  background:linear-gradient(160deg,#181b20 0%,#111419 68%,#101216 100%);
  border:1px solid #32363e;border-radius:18px;
  padding:18px 20px 17px;gap:14px;margin:19px 0 20px;
  box-shadow:0 10px 28px #0002, inset 0 1px 0 #ffffff08;
}
.shop-top .catalog-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:center;line-height:1.4}
.shop-top .catalog-panel-head>span{font-size:13px;font-weight:750;color:#e7e9ed}
.shop-top .catalog-panel-head>small{font-size:11px;color:#8a909c}
.shop-top .catalog-control-panel .shop-tools{grid-template-columns:minmax(0,1fr) 164px;gap:11px}
.shop-top .catalog-control-panel .search-wrap .input,.shop-top .catalog-control-panel .sort-select{min-height:46px;border-radius:11px;background:#0d1015;border-color:#373d47}
.shop-top .catalog-control-panel .search-wrap .input:focus,.shop-top .catalog-control-panel .sort-select:focus{outline:2px solid #c7ccd27a;outline-offset:1px;border-color:#9ca5b3}
.shop-top .catalog-category-block{border-color:#2a2f37;padding-top:13px;gap:9px}
.shop-top .catalog-category-heading span{font-size:12px;color:#bdc3cd;font-weight:700}
.shop-top .catalog-category-heading small{font-size:10px}
.shop-top .catalog-category-block .pill{font-size:11px;min-height:34px;padding:8px 12px;border-radius:9px;background:#191d23;border-color:#373e48;transition:border-color .2s,transform .2s,background .2s}
.shop-top .catalog-category-block .pill.active{background:#e4e7ec;color:#101217;border-color:#e4e7ec}
.shop-top .catalog-category-block .pill:hover:not(.active){border-color:#9ea6b1;background:#262b33;color:#fff}
.shop-top .shop-list-head{margin-top:6px;align-items:center}

.wallet-payment-backdrop{backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px);background:rgba(0,0,0,.78)}
.wallet-modal.wallet-payment-dialog{
  box-sizing:border-box;width:min(844px,100%);max-width:844px!important;
  border:1px solid #353b46;border-radius:22px;padding:0;
  background:linear-gradient(170deg,#181c23,#0e1117 74%);
  box-shadow:0 30px 85px #000b,inset 0 1px 0 #ffffff11;
  overflow-y:auto;overscroll-behavior:contain;max-height:calc(100dvh - 28px);
}
.wallet-payment-title{padding:23px 26px 20px;margin:0;border-bottom:1px solid #2e333d;gap:16px}
.wallet-payment-title-group{display:flex;align-items:center;gap:13px;min-width:0}
.wallet-payment-title-icon{width:43px;height:43px;flex:none;display:grid;place-items:center;border:1px solid #484f5d;border-radius:13px;background:#2c313b;color:#f0f2f5}
.wallet-payment-title-icon svg{width:21px;height:21px}
.wallet-payment-title h2{font-size:clamp(17px,2vw,21px);font-weight:750;margin:3px 0}
.wallet-payment-title p{font-size:11px;color:#9aA2af;margin:5px 0 0}
.wallet-payment-title .eyebrow{font-size:9px;letter-spacing:.16em}
.wallet-payment-close{width:37px;height:37px;flex:none;border:1px solid #3a424e!important;border-radius:11px;background:#232832!important;display:grid;place-items:center;font-size:23px!important;cursor:pointer;transition:background .18s}
.wallet-payment-close:hover{background:#343c49!important}
.wallet-payment-steps{display:flex;gap:10px;padding:14px 26px;color:#818b99;border-bottom:1px solid #262c35;font-size:11px;font-weight:700}
.wallet-payment-steps span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.wallet-payment-steps span+span:before{content:'›';margin-right:6px;color:#59616d}
.wallet-payment-steps .current{color:#e6eaf0}
.wallet-payment-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;min-width:0}
.wallet-payment-qr-section,.wallet-payment-slip-section{min-width:0;padding:24px 25px}
.wallet-payment-qr-section{background:#171b22;border-right:1px solid #343a45}
.wallet-payment-section-head{display:flex;align-items:center;gap:11px;min-width:0;margin-bottom:19px}
.wallet-step-index{width:34px;height:34px;border-radius:10px;background:#e1e4ea;color:#1b1f26;flex:none;display:grid;place-items:center;font:800 12px var(--latin)}
.wallet-payment-section-head>div{display:grid;gap:4px;min-width:0;flex:1}
.wallet-payment-section-head strong{font-size:13px;color:#f0f2f5;line-height:1.3}
.wallet-payment-section-head small{font-size:10px;color:#939baa;line-height:1.4}
.wallet-payment-expiry{flex:none;border:1px solid #45505d;color:#b3bdca;font-size:10px;border-radius:999px;padding:5px 9px}
.wallet-payment-qr-stage{display:grid;place-items:center;background:#e9ebef;border-radius:16px;min-height:248px;padding:14px;border:1px solid #f9fafc24}
.wallet-payment-qr-paper{display:grid;place-items:center;min-width:0;background:#fff;padding:9px;border-radius:10px;box-shadow:0 9px 24px #10131822}
.wallet-payment-qr-paper img{display:block;width:210px;height:210px;max-width:100%;object-fit:contain;image-rendering:auto}
.wallet-payment-amount{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:17px 0 13px}
.wallet-payment-amount>span{display:grid;gap:2px;font-size:11px;color:#939cab}
.wallet-payment-amount strong{display:block;font:780 28px var(--latin);letter-spacing:-.04em;color:#f7f8fb}
.wallet-payment-amount>small{font-size:10px;color:#919aaa;text-align:right;max-width:135px;line-height:1.5}
.wallet-qr-download{width:100%;min-height:43px;border-radius:11px;border:1px solid #626d7b;background:#303744;color:#f0f2f7;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:750;font-size:12px;cursor:pointer;transition:background .18s,transform .18s,border-color .18s}
.wallet-qr-download svg{width:17px;height:17px}
.wallet-qr-download:hover{background:#414b59;border-color:#aab2be}
.wallet-payment-tip{font-size:10px;color:#929baa;text-align:center;line-height:1.6;margin:12px 0 0}
.wallet-slip-form.wallet-payment-slip-section{display:flex;flex-direction:column;gap:0}
.wallet-upload-zone{flex:1;min-height:225px;border:1.5px dashed #4c5562;background:linear-gradient(150deg,#222830,#1b2029);border-radius:16px;cursor:pointer;display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;padding:21px 14px;text-align:center;transition:border-color .2s,background .2s}
.wallet-upload-zone:hover,.wallet-upload-zone:focus-within{border-color:#c0cad8;background:#2b323e}
.wallet-upload-graphic{width:53px;height:53px;display:grid;place-items:center;border:1px solid #4c5663;border-radius:16px;background:#303947;color:#e8eef5;margin-bottom:4px}
.wallet-upload-graphic svg{width:25px;height:25px}
.wallet-upload-zone strong{font-size:13px;color:#edf1f6;word-break:break-word;max-width:100%;font-weight:700}
.wallet-upload-zone small{font-size:10px;color:#98a3b0;line-height:1.6}
.wallet-upload-browse{font-weight:700;font-size:11px;color:#141920;background:#dce0e7;border:1px solid #eff2f7;border-radius:9px;padding:9px 13px;margin-top:5px}
.wallet-upload-zone.has-file{border-style:solid;border-color:#739f85;background:linear-gradient(140deg,#1c2b27,#1b2329)}
.wallet-upload-zone.has-file .wallet-upload-graphic{background:#274c37;border-color:#528367;color:#bdf2cf}
.wallet-file-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important;opacity:0!important;clip-path:inset(50%)}
.wallet-file-native:focus-visible+.wallet-payment-check-list{outline:2px solid #d1d8e3;outline-offset:3px}
.wallet-payment-check-list{display:flex;flex-direction:column;gap:8px;margin:18px 0;color:#9ea8b5;font-size:11px;line-height:1.5}
.wallet-payment-check-list span{display:flex;gap:8px;align-items:center}
.wallet-payment-check-list svg{width:14px;height:14px;flex:none;color:#9ecdb0}
.wallet-submit-payment{min-height:48px!important;width:100%;justify-content:center!important;gap:8px}
.wallet-payment-verify-footnote{font-size:10px;color:#8c95a3;text-align:center;line-height:1.7;margin:12px 0 0}
.wallet-payment-dialog :is(button,label):focus-visible{outline:2px solid #d5deea;outline-offset:3px}
@media(max-width:900px){
 .wallet-modal.wallet-payment-dialog{width:min(740px,100%)}
 .wallet-payment-qr-section,.wallet-payment-slip-section{padding:20px}
 .wallet-payment-qr-paper img{width:185px;height:185px}
 .wallet-payment-qr-stage{min-height:216px}
}
@media(max-width:640px){
 .shop-top .catalog-control-panel{padding:15px;gap:12px;margin:16px 0 18px}
 .shop-top .catalog-panel-head>small{display:none}
 .shop-top .catalog-control-panel .shop-tools{grid-template-columns:minmax(0,1fr) 120px;gap:8px}
 .shop-top .catalog-control-panel .sort-select{padding-inline:7px;font-size:12px}
 .wallet-modal.wallet-payment-dialog{width:100%;max-width:100%!important;border-radius:18px;max-height:calc(100dvh - 18px)}
 .wallet-payment-title{padding:16px 17px 14px}
 .wallet-payment-steps{padding:12px 17px;font-size:10px;gap:5px}
 .wallet-payment-columns{grid-template-columns:minmax(0,1fr)}
 .wallet-payment-qr-section{border-right:0;border-bottom:1px solid #343a45;padding:18px 18px 21px}
 .wallet-payment-slip-section{padding:18px 18px 22px}
 .wallet-payment-qr-stage{min-height:190px}
 .wallet-payment-qr-paper img{width:190px;height:190px}
 .wallet-payment-amount{margin:13px 0 10px}
 .wallet-upload-zone{min-height:160px;padding:16px}
 .wallet-payment-check-list{margin:14px 0}
}
@media(max-width:380px){
 .shop-top .catalog-control-panel .shop-tools{grid-template-columns:minmax(0,1fr)}
 .wallet-payment-steps{font-size:9px}
 .wallet-payment-title h2{font-size:17px}
 .wallet-payment-title-icon{width:37px;height:37px}
 .wallet-payment-qr-paper img{width:175px;height:175px}
 .wallet-payment-qr-stage{min-height:190px}
}
@media(prefers-reduced-motion:reduce){.wallet-payment-close,.wallet-qr-download,.wallet-upload-zone,.shop-top .catalog-category-block .pill{transition:none!important}}
/* Override generic file-form label rule for the clickable custom uploader. */
.wallet-slip-form.wallet-payment-slip-section label.wallet-upload-zone{display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center}

/* V8.2 — QR payment countdown and audit history */
.wallet-payment-expiry{display:inline-flex;align-items:center;gap:6px;background:#171c25;border:1px solid #3f4856;color:#e7edf4;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
.wallet-payment-expiry b{font:750 14px/1.1 ui-monospace,Consolas,monospace;letter-spacing:.4px;color:#fff}
.wallet-countdown-dot{width:7px;height:7px;background:#90d3a7;border-radius:50%;box-shadow:0 0 8px #60c38966}
.wallet-expired-message{display:none;flex-direction:column;gap:12px;margin-top:15px;border:1px solid #8b5b5f;background:#2c1b22;padding:16px;border-radius:14px;color:#ffe1e4;line-height:1.6}
.wallet-expired-message strong{font-size:14px}
.wallet-expired-message span{font-size:12px;color:#ffb3b9}
.wallet-expired-message button{align-self:stretch;min-height:43px}
.wallet-qr-expired .wallet-expired-message{display:flex}
.wallet-qr-expired .wallet-countdown-dot{background:#f4a0a3;box-shadow:0 0 8px #c8565966}
.wallet-qr-expired .wallet-payment-expiry{background:#3b2028;border-color:#7c4753;color:#ffd8e1}
.wallet-qr-expired .wallet-payment-expiry b{color:#ffc1cc}
.wallet-qr-expired .wallet-payment-qr-stage{position:relative;overflow:hidden}
.wallet-qr-expired .wallet-payment-qr-paper{opacity:.25;filter:grayscale(1) blur(5px);pointer-events:none}
.wallet-qr-expired .wallet-payment-qr-stage:after{content:'QR หมดอายุ';position:absolute;inset:0;display:grid;place-items:center;color:#ffced3;font-weight:800;font-size:17px;pointer-events:none;text-shadow:0 2px 10px #000}
.wallet-qr-expired .wallet-upload-zone{opacity:.45;pointer-events:none}
.wallet-qr-expired .wallet-payment-check-list,.wallet-qr-expired .wallet-payment-verify-footnote{opacity:.45}
.code-history-panel{margin-top:23px;padding:22px;overflow:hidden;border-radius:20px}
.code-history-head{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:16px}
.code-history-head h3{font-size:18px;margin:6px 0 4px;color:#f5f6f8}
.code-history-head p{font-size:12px;color:#98a0ae;margin:0;line-height:1.65}
.code-history-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:15px}
.code-history-summary>div{min-width:0;display:flex;flex-direction:column;gap:6px;background:#171c23;border:1px solid #333b46;border-radius:13px;padding:12px 15px}
.code-history-summary span{font-size:11px;color:#9aa4b0}
.code-history-summary strong{font:750 23px/1.2 var(--latin),sans-serif;color:#f5f6f9;font-variant-numeric:tabular-nums}
.code-history-scroll{max-width:100%;overflow:auto;border:1px solid #303742;border-radius:15px;background:#10141b}
.code-history-table{width:100%;min-width:830px;border-collapse:collapse;text-align:left;font-size:12px}
.code-history-table thead{background:#1d222b;color:#a7b1bd}
.code-history-table th{font-size:11px;font-weight:650;padding:13px 14px;border-bottom:1px solid #343a44;white-space:nowrap}
.code-history-table td{padding:15px 14px;border-top:1px solid #303640;vertical-align:middle;color:#d7dde5}
.code-history-table tbody tr:hover{background:#1b2029}
.code-history-table code{font-size:11px;color:#f3f4f7;letter-spacing:.15px}
.code-history-table small{display:block;margin-top:4px;color:#8d98a6;font-size:10px;line-height:1.55}
.code-history-table .history-empty{text-align:center;color:#95a1b0;padding:40px 15px}
.code-history-status{display:inline-flex;align-items:center;justify-content:center;border:1px solid #3d4651;background:#252a34;color:#c9d0db;padding:6px 10px;border-radius:9px;font-size:11px;font-weight:650;white-space:nowrap}
.code-history-status.redeemed{color:#a6d8bc;background:#173023;border-color:#34674d}
.code-history-status.active{color:#d5e3f7;background:#223045;border-color:#486181}
.code-history-status.expired{color:#e6b7bb;background:#362329;border-color:#6b3b47}
.code-history-note{font-size:11px;line-height:1.8;color:#8b96a4;margin:15px 0 0}
.code-history-error{border:1px solid #834c58;border-radius:10px;color:#ffd8df;padding:10px 12px;background:#39232d}
.history-more{margin-top:14px}
/* The ADMIN/heading in adminFrame is the only page title; avoid repeated title blocks */
.promo-v76-heading{min-height:0;margin-top:0}
.promo-v76-heading>div p{margin:0;font-size:12px;color:#9aa4b0}
@media(max-width:760px){.code-history-panel{padding:16px}.code-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.code-history-head{align-items:stretch}.code-history-head .btn{width:100%;justify-content:center}.wallet-payment-expiry{font-size:10px}}
@media(prefers-reduced-motion:reduce){.wallet-qr-expired .wallet-payment-qr-paper{transition:none}}


/* V8.3: single prominent wallet checkout action */
.premium-summary .wallet-checkout-only{width:100%;min-height:50px;margin:16px 0 12px;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:750;border-radius:13px;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}
.premium-summary .wallet-checkout-only svg{width:17px;height:17px}
.premium-summary .wallet-checkout-only:hover:not(:disabled){box-shadow:0 14px 32px #d4dae522;transform:translateY(-1px)}
.premium-summary .wallet-checkout-only:active:not(:disabled){transform:translateY(1px)}
@media(max-width:760px){.premium-summary .wallet-checkout-only{min-height:52px}}
@media(prefers-reduced-motion:reduce){.premium-summary .wallet-checkout-only{transition:none;transform:none!important}}

/* V8.5 - multi-use gift codes, expiry controls and admin-only copy */
.code-expiry-control{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:9px;min-width:0}
.code-expiry-control>.input{min-width:0;width:100%;margin-top:0!important}
.promo-v76-form .promo-form label>small{font-size:10px;line-height:1.6;display:block;margin-top:6px}
.code-history-summary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.code-history-table .history-copy{margin-top:9px;display:inline-flex;gap:6px;align-items:center;max-width:100%;border-color:#506376;color:#e1edff;background:#263443;white-space:nowrap}
.code-history-table .history-copy:hover{border-color:#d3e5f9;background:#334453}
.code-history-table .history-copy svg{width:13px;height:13px;flex:none}
.code-history-table td>small{white-space:normal;max-width:240px}
@media(max-width:580px){.code-expiry-control{grid-template-columns:minmax(0,1fr) 100px}.code-history-table .history-copy{min-height:35px}}
@media(prefers-reduced-motion:reduce){.code-history-table .history-copy{transition:none}}


/* FIX STORE V8.6 — Cart line layout / visible qty controls */
.cart-page-upgraded .cart-line{min-width:0;grid-template-columns:88px minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 15px;}
.cart-page-upgraded .cart-thumbnail{width:88px;height:88px;aspect-ratio:1/1;}
.cart-page-upgraded .cart-line-info{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;min-width:0;}
.cart-page-upgraded .cart-line-info>a{max-width:100%;min-width:0;}
.cart-page-upgraded .cart-line-info h3{margin:0;overflow-wrap:anywhere;line-height:1.42;}
.cart-page-upgraded .cart-line-category{display:block;max-width:100%;color:#9aa4b2;font-size:11px;line-height:1.4;overflow-wrap:anywhere;}
.cart-page-upgraded .cart-quantity-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:37px;margin-top:2px;}
.cart-page-upgraded .cart-quantity-label{font-size:10px;font-weight:600;color:#8e98a6;line-height:1.5;white-space:nowrap;}
.cart-page-upgraded .cart-qty-controls{display:inline-flex;align-items:center;justify-content:space-between;gap:0;flex:0 0 auto;margin:0;padding:3px;border:1px solid #3a424d;border-radius:10px;background:#0c1017;min-width:104px;}
.cart-page-upgraded .cart-qty-controls button{width:32px;min-width:32px;height:32px;display:grid;place-items:center;border-radius:7px;background:#1d242e;font-size:17px;cursor:pointer;transition:background .16s ease,color .16s ease;}
.cart-page-upgraded .cart-qty-controls button:hover{background:#343e4d;color:#fff;}
.cart-page-upgraded .cart-qty-controls b{font-size:13px;min-width:27px;text-align:center;font-variant-numeric:tabular-nums;}
.cart-page-upgraded .cart-line-end{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;gap:8px;min-width:72px;}
.cart-page-upgraded .cart-line-end strong{white-space:nowrap;}
.cart-page-upgraded .trash-button{cursor:pointer;padding:4px;border-radius:6px;}
.cart-page-upgraded .trash-button:hover{color:#f0acb5;}
@media(max-width:760px){
 .cart-page-upgraded .cart-line{grid-template-columns:70px minmax(0,1fr);gap:10px 12px;align-items:start;padding:12px;}
 .cart-page-upgraded .cart-thumbnail{width:70px;height:70px;}
 .cart-page-upgraded .cart-line-end{grid-column:2;grid-row:auto;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;min-width:0;}
 .cart-page-upgraded .cart-quantity-row{gap:8px;margin-top:3px;}
 .cart-page-upgraded .cart-qty-controls button{min-width:36px;width:36px;height:36px;}
 .cart-page-upgraded .cart-line-info{min-width:0;gap:7px;}
}
@media(prefers-reduced-motion:reduce){.cart-page-upgraded .cart-qty-controls button{transition:none!important}}

/* ===================================================================
   FIX STORE V8.7 — CHROME MOTION SYSTEM
   No continuous JS animation, no layout thrash. Safari/iOS friendly.
   =================================================================== */
:root{
  --motion-fast:180ms;
  --motion-medium:330ms;
  --motion-soft:cubic-bezier(.18,.78,.22,1);
  --silver-glow:rgba(195,211,232,.2);
}

/* Small, immediately recognizable discount entry in cart. No giant empty box. */
.premium-summary .cart-promo{
  position:relative;display:inline-flex;flex-direction:column;align-items:flex-start;
  gap:0;margin:13px 0 15px;max-width:100%;min-width:0;
}
.premium-summary .cart-promo-trigger{
  display:inline-flex;align-items:center;gap:9px;width:auto;min-height:40px;
  padding:5px 12px 5px 5px;border:1px solid #434d5b;border-radius:12px;
  background:linear-gradient(130deg,#222933 0%,#171d26 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 5px 14px rgba(0,0,0,.13);
  color:#f4f6f9;cursor:pointer;text-align:left;
  transition:transform var(--motion-fast) var(--motion-soft),border-color var(--motion-fast),background-color var(--motion-fast),box-shadow var(--motion-medium);
}
.premium-summary .cart-promo-icon{
  display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;
  border:1px solid rgba(222,233,250,.2);border-radius:9px;
  background:linear-gradient(145deg,#3b4656,#242d39);color:#f6f8fb;
}
.premium-summary .cart-promo-icon svg{width:17px;height:17px}
.premium-summary .cart-promo-title{font-size:12px;font-weight:750;white-space:nowrap;line-height:1.3}
.premium-summary .cart-promo-caret{display:grid;place-items:center;color:#a3aebe;transition:transform .28s var(--motion-soft)}
.premium-summary .cart-promo-caret svg{width:14px;height:14px}
.premium-summary .cart-promo.is-open .cart-promo-caret{transform:rotate(90deg)}
.premium-summary .cart-promo.is-open .cart-promo-trigger,
.premium-summary .cart-promo.has-coupon .cart-promo-trigger{border-color:#9eacbb;background:linear-gradient(135deg,#343d49,#202731);box-shadow:0 0 0 1px #d4e1f018,inset 0 1px 0 #ffffff18}
.premium-summary .cart-promo-panel{
  box-sizing:border-box;width:min(315px,100%);min-width:min(240px,100%);padding:13px 0 0;
  animation:fxCouponReveal .32s var(--motion-soft) both;
}
.premium-summary .cart-promo-panel[hidden]{display:none!important}
.premium-summary .cart-promo-form{display:grid;gap:8px}
.premium-summary .cart-promo-label{display:block;font-size:11px;font-weight:700;color:#aeb7c5}
.premium-summary .cart-promo-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:stretch;min-width:0}
.premium-summary .cart-promo-fields .input{height:41px;min-height:41px;padding:0 10px;border-radius:10px;background:#0c1017;border-color:#454e5b;color:#f6f7fb;font-size:12px;letter-spacing:.035em}
.premium-summary .cart-promo-fields .input:focus{background:#151a23;border-color:#c7d5e6;box-shadow:0 0 0 3px #c0d0e519}
.premium-summary .cart-promo-apply{
  display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:71px;
  padding:0 9px;border:1px solid #f1f4f8;border-radius:10px;
  color:#151922;font:750 11px var(--font);white-space:nowrap;
  background:linear-gradient(120deg,#fff,#c9d0da);box-shadow:inset 0 1px 0 white;
  transition:transform var(--motion-fast),box-shadow var(--motion-fast);
}
.premium-summary .cart-promo-apply svg{width:12px;height:12px}
.premium-summary .cart-promo-clear{justify-self:start;background:none;color:#aab8c9;border:0;padding:2px 0;font-size:11px;text-decoration:underline;text-underline-offset:3px}
.premium-summary .cart-promo-applied{display:flex;gap:7px;align-items:start;margin-top:9px;padding:8px 10px;background:#11261d;border:1px solid #2f5e48;border-radius:10px;color:#b2ebca;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.premium-summary .cart-promo-applied svg{height:15px;width:15px;flex-shrink:0}
@keyframes fxCouponReveal{from{opacity:0;transform:translate3d(0,-9px,0)}to{opacity:1;transform:translate3d(0,0,0)}}

/* Navigation — understated sliding silver track */
.desktop-nav a,.mobile-nav a,.mobile-bottom-bar a{transition:color var(--motion-fast),background-color var(--motion-fast),transform var(--motion-fast) var(--motion-soft)}
.desktop-nav a::before{content:"";position:absolute;left:18px;right:18px;bottom:3px;height:2px;border-radius:5px;background:#edf4ff;opacity:0;transform:scaleX(.25);transition:transform .28s var(--motion-soft),opacity .22s;pointer-events:none}
.desktop-nav a:hover::before,.desktop-nav a.active::before{opacity:.78;transform:scaleX(1)}
.desktop-nav a.active::after{opacity:0!important}

/* Page composition: first-paint entrance, staggered only at route mounting. */
@keyframes fxSoftRise{from{opacity:0;transform:translate3d(0,13px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes fxSoftScale{from{opacity:0;transform:translate3d(0,9px,0) scale(.988)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
.page-in > .section-head,.page-in > .orders-title,.page-in > .account-page-top,.page-in > .credit-page-heading,.page-in > .wallet-choice-heading,.page-in > .contact-heading,.page-in > .product-route{
  animation:fxSoftRise .45s var(--motion-soft) both;
}
.page-in .product-grid>.portrait-card,.page-in .category-grid>.category-card,
.page-in .category-grid>.category-tile,.page-in .account-stats>article,
.page-in .help-layout>.help-card,.page-in .stat-grid>.stat{
  animation:fxSoftScale .45s var(--motion-soft) both;
}
.page-in .product-grid>:nth-child(2),.page-in .category-grid>:nth-child(2),.page-in .account-stats>:nth-child(2),.page-in .stat-grid>:nth-child(2){animation-delay:55ms}
.page-in .product-grid>:nth-child(3),.page-in .category-grid>:nth-child(3),.page-in .account-stats>:nth-child(3),.page-in .stat-grid>:nth-child(3){animation-delay:100ms}
.page-in .product-grid>:nth-child(4),.page-in .category-grid>:nth-child(4),.page-in .stat-grid>:nth-child(4){animation-delay:135ms}
.page-in .product-grid>:nth-child(n+5),.page-in .category-grid>:nth-child(n+5),.page-in .stat-grid>:nth-child(n+5){animation-delay:170ms}

/* Premium cards: Chrome edge feedback instead of perpetual moving light. */
.cart-line,.admin-panel,.account-dashboard-panel,.account-shortcuts>a,
.contact-method,.credit-info-panel,.credit-method-panel,.fx-wallet-balance,
.wallet-option-card,.help-card,.category-card,.category-tile,.product-purchase-panel,
.order-card,.glass.stat,.promo-v76-form,.promo-v76-aside{
  transition:border-color var(--motion-medium),box-shadow var(--motion-medium),transform var(--motion-medium) var(--motion-soft),background-color var(--motion-medium);
}
.cart-line{border:1px solid #303740;border-radius:15px}

/* Polished buttons — reflective pass on hover only, cheap opacity/transform. */
.btn,.mini-btn,.cart-qty-controls button,.portrait-add,.credit-amount-choice,.stock-filter,.pill{
  transition:transform var(--motion-fast) var(--motion-soft),box-shadow var(--motion-medium),border-color var(--motion-medium),background-color var(--motion-medium),color var(--motion-fast);
}
.btn-primary,.wallet-checkout-only,.auth-submit{position:relative;isolation:isolate;overflow:hidden}
.btn-primary::before,.wallet-checkout-only::before,.auth-submit::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:linear-gradient(105deg,transparent 24%,rgba(255,255,255,.52) 50%,transparent 74%);
  opacity:0;transform:translate3d(-120%,0,0);
  transition:transform .55s var(--motion-soft),opacity .3s ease;
}
.btn-primary>*,.wallet-checkout-only>*,.auth-submit>*{position:relative;z-index:1}

/* Links, icons and fields consistently signal interactivity. */
.input,.search-wrap input,.category-search input,.auth-form input,.cart-promo-fields input,textarea,select{transition:border-color .23s ease,box-shadow .25s ease,background-color .2s ease}
.icon-button,.header-credit,.login-shortcut,.register-shortcut,.mobile-bottom-bar a{transition:transform var(--motion-fast) var(--motion-soft),border-color .2s,background-color .2s,box-shadow .25s,color .2s}

/* Dialogs and redemption screens: compact spring entrance. */
.modal-backdrop:not(.fx-confirm-backdrop){animation:fxDialogFade .22s ease both}
.modal-backdrop:not(.fx-confirm-backdrop)>.modal,.modal-backdrop>.wallet-payment-dialog{animation:fxDialogRise .32s var(--motion-soft) both}

/* Desktop pointer effects; none rely on animation loops or scroll handlers. */
@media (hover:hover) and (pointer:fine){
  .premium-summary .cart-promo-trigger:hover{transform:translate3d(0,-2px,0);border-color:#a6b8cb;box-shadow:0 10px 25px #0007,0 0 0 1px #c0d7f31c}
  .premium-summary .cart-promo-trigger:active{transform:scale(.975)}
  .premium-summary .cart-promo-apply:hover{transform:translateY(-1px);box-shadow:0 7px 16px #d7dfeb27}
  .desktop-nav a:hover{transform:translateY(-1px)}
  .cart-line:hover,.order-card:hover,.account-dashboard-panel:hover,.credit-info-panel:hover,.credit-method-panel:hover,.admin-panel:hover,.contact-method:hover,.help-card:hover,.wallet-option-card:hover{border-color:#5f6c7c;box-shadow:0 16px 30px #0005,inset 0 1px 0 #ffffff0c}
  .account-shortcuts>a:hover,.contact-method:hover,.wallet-option-card:hover{transform:translate3d(0,-3px,0)}
  .btn-primary:hover:not(:disabled)::before,.wallet-checkout-only:hover:not(:disabled)::before,.auth-submit:hover:not(:disabled)::before{opacity:.8;transform:translate3d(120%,0,0)}
  .icon-button:hover,.header-credit:hover,.login-shortcut:hover,.cart-qty-controls button:hover:not(:disabled){transform:translate3d(0,-2px,0);box-shadow:0 8px 22px #0005}
  .pill:hover:not(.active),.stock-filter:hover:not(.active){transform:translateY(-2px)}
}

/* iOS/Android: non-hover, stable sizing, safe coupon input and tap feedback. */
@media(max-width:760px){
  .premium-summary .cart-promo{margin:10px 0 14px}
  .premium-summary .cart-promo-trigger{min-height:44px;padding-right:12px}
  .premium-summary .cart-promo-panel{width:100%;max-width:100%}
  .premium-summary .cart-promo-fields .input{font-size:16px!important;letter-spacing:0}
  .premium-summary .cart-promo-fields{grid-template-columns:minmax(0,1fr) auto}
  .premium-summary .cart-promo-apply{min-width:75px}
  .page-in .product-grid>.portrait-card,.page-in .category-grid>*,.page-in .account-stats>article{animation-duration:.32s;animation-delay:0ms!important}
}
@media(max-width:360px){.premium-summary .cart-promo-fields{grid-template-columns:minmax(0,1fr)}.premium-summary .cart-promo-apply{min-height:42px}}

/* Motion accessibility; non-negotiable for vestibular sensitivity and battery. */
@media(prefers-reduced-motion:reduce){
  .premium-summary .cart-promo-panel,.page-in .product-grid>*,.page-in .category-grid>*,.page-in .account-stats>*,.page-in .help-layout>*,.page-in .stat-grid>*,
  .page-in>.section-head,.page-in>.orders-title,.page-in>.account-page-top,.page-in>.credit-page-heading,.page-in>.wallet-choice-heading,.page-in>.contact-heading,.page-in>.product-route,
  .modal-backdrop,.modal-backdrop>.modal,.modal-backdrop>.wallet-payment-dialog,
  .btn-primary::before,.wallet-checkout-only::before,.auth-submit::before{animation:none!important;transition:none!important;transform:none!important}
  .desktop-nav a::before,.premium-summary .cart-promo-trigger,.premium-summary .cart-promo-caret,.btn,.mini-btn,.cart-line,.product-polished,.account-shortcuts>a{animation:none!important;transition:none!important;transform:none!important}
}


/* FIX STORE V8.8 — Compact, tabbed User Control Panel */
.user-control-backdrop{padding:14px;background:rgba(0,0,0,.79)}
.user-control-v88{width:min(684px,100%);max-width:684px;max-height:min(850px,calc(100dvh - 28px));padding:0!important;border:1px solid #333c4a!important;border-radius:22px!important;background:linear-gradient(160deg,#171c24,#0d1016 78%)!important;box-shadow:0 30px 90px #000c,0 0 0 1px #ffffff08;display:flex;flex-direction:column;overflow:hidden!important;color:#e8ecf2}
.user-control-heading{display:flex;align-items:center;gap:14px;padding:22px 23px 17px;border-bottom:1px solid #292f39;flex-shrink:0}
.user-control-avatar{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;flex-shrink:0;background:linear-gradient(145deg,#eef0f4,#aab2c1);color:#141820;font:800 23px var(--latin);box-shadow:inset 0 1px #fff9}
.user-control-heading-main{flex:1;min-width:0}.user-control-heading-main .eyebrow{font-size:9px;color:#8995a6;letter-spacing:1.5px}.user-control-heading h2{font-size:22px;line-height:1.3;margin:4px 0 2px;overflow-wrap:anywhere}.user-control-heading p{font-size:11px;color:#8c97a7;margin:0}
.user-control-close{width:34px;height:34px;border-radius:10px;background:#252b34;border:1px solid #39424e;color:#d9e0eb;cursor:pointer;font-size:22px;line-height:1;flex-shrink:0;transition:background .2s,transform .2s}.user-control-close:hover{background:#36404d;transform:rotate(90deg)}
.user-control-tabs{padding:10px 22px 0;display:grid;grid-template-columns:1fr 1fr;gap:9px;flex-shrink:0;border-bottom:1px solid #303845}
.user-control-tab{min-height:44px;border:0;border-bottom:2px solid transparent;background:transparent;color:#9da8b6;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:730;font-size:12px;cursor:pointer;transition:color .2s,background .2s,border-color .2s;border-radius:10px 10px 0 0}.user-control-tab svg{width:17px;height:17px}.user-control-tab:hover{color:#e9edf3;background:#ffffff0c}.user-control-tab.active{color:#fff;border-bottom-color:#edf0f5;background:linear-gradient(0deg,#cfd6e91a,transparent)}.user-control-tab:focus-visible{outline:2px solid #bcc5d8;outline-offset:-4px}
.user-control-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#4a5260 transparent;scrollbar-width:thin;padding:20px 23px 24px}.user-control-pane[hidden]{display:none!important}.user-control-pane{animation:userControlPaneIn .22s ease both}
@keyframes userControlPaneIn{from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.user-control-subhead h3{font-size:17px;letter-spacing:-.2px;margin:4px 0 0}.user-control-subhead .eyebrow{font-size:9px;color:#95a1ae;letter-spacing:1px}.user-control-subhead p{font-size:11px;color:#99a4b2;line-height:1.75;margin:8px 0 0}.user-account-info{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0 12px}.user-account-info>div{padding:13px 14px;border:1px solid #2d3541;background:#161b23;border-radius:13px;display:grid;gap:6px;min-width:0}.user-account-info small{font-size:10px;color:#8995a5}.user-account-info strong{font-size:12px;overflow-wrap:anywhere}.user-control-v88 .positive{color:#8de2b4}.user-control-v88 .negative{color:#f4a4ae}
.user-control-uid{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:12px 14px;border:1px dashed #384250;border-radius:12px;background:#11161d}.user-control-uid div{min-width:0;display:grid;gap:5px}.user-control-uid small{font-size:9px;color:#8a97a7}.user-control-uid code{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:370px}.user-control-uid button,.user-finance-refresh{border:1px solid #3a4553;border-radius:10px;min-height:33px;padding:0 11px;background:#242c37;color:#e6ebf3;display:flex;align-items:center;gap:7px;cursor:pointer;white-space:nowrap;font-size:11px}.user-control-uid button:hover,.user-finance-refresh:hover{background:#354050}.user-control-uid svg,.user-finance-refresh svg{width:14px;height:14px}
.user-control-divider{height:1px;background:#2c3541;margin:20px 0}.user-control-form{margin-top:15px;gap:13px}.user-control-form label{font-size:11px;color:#cbd4df}.user-control-form .input{min-height:43px;border-radius:10px;background:#11161d;border:1px solid #394250;color:#eaf0f7;font-size:13px}.user-control-form input:focus-visible,.user-control-form select:focus-visible{outline:2px solid #818fa3;outline-offset:1px}.user-control-submit{width:100%;min-height:43px;margin-top:4px;justify-content:center}.user-control-submit svg{width:15px;height:15px}.user-control-v88 .admin-privacy-note{margin:14px 0 0;font-size:10px;line-height:1.7}
.user-finance-balance{padding:18px 19px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #3c4654;background:radial-gradient(ellipse at 83% 10%,#404a5c70,transparent 62%),linear-gradient(135deg,#292f39,#131821);border-radius:16px;margin-bottom:19px}.user-finance-balance>div{display:grid;gap:6px}.user-finance-balance small{color:#a7b1c0;font-size:11px}.user-finance-balance strong{color:#f8fafc;font-size:clamp(26px,5vw,34px);line-height:1.2;font-variant-numeric:tabular-nums}.user-finance-balance-icon{width:40px;height:40px;border-radius:13px;background:#ffffff15;display:grid;place-items:center;color:#d6deeb}.user-finance-balance-icon svg{width:20px;height:20px}
.user-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.user-finance-mini-stats{margin:14px 0;display:grid;grid-template-columns:1fr 1fr;gap:9px}.user-finance-mini-stats>div{display:grid;gap:8px;border:1px solid #2e3744;background:#161c24;border-radius:13px;padding:14px}.user-finance-mini-stats span{font-size:10px;color:#a1acb8}.user-finance-mini-stats strong{font-size:16px;font-variant-numeric:tabular-nums}
.user-finance-ledger{border:1px solid #2d3642;border-radius:13px;overflow:hidden}.user-ledger-entry{display:flex;align-items:center;gap:12px;border-bottom:1px solid #2a323d;padding:12px 13px}.user-ledger-entry:last-child{border-bottom:0}.user-ledger-sign{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#28312c;flex-shrink:0}.user-ledger-sign.negative{background:#352a30}.user-ledger-sign svg{width:15px;height:15px}.user-ledger-detail{flex:1;min-width:0;display:grid;gap:4px}.user-ledger-detail strong{font-size:12px}.user-ledger-detail small{font-size:10px;color:#97a3b2;line-height:1.5;overflow-wrap:anywhere}.user-ledger-entry>b{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.user-ledger-empty{text-align:center;color:#93a0b0;padding:28px 14px;font-size:12px}.user-finance-foot{display:block;font-size:10px;color:#8d99a7;line-height:1.7;margin-top:10px}.user-finance-more{width:100%;margin-top:12px;padding:10px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #3b4653;background:#1f2833;color:#fff;border-radius:10px;cursor:pointer;font-size:12px}.user-finance-more:hover{background:#2e3947}.user-finance-more svg{width:14px;height:14px}.user-finance-error{display:flex;gap:9px;align-items:center;flex-wrap:wrap;border:1px solid #764045;background:#361d25;color:#f7c3ca;border-radius:12px;padding:13px;font-size:12px}.user-finance-error svg{width:16px;height:16px}.user-finance-error button{border:0;color:#fff;text-decoration:underline;background:transparent;cursor:pointer}
@media(max-width:560px){.user-control-v88{width:100%;max-height:calc(100dvh - 18px);border-radius:18px!important}.user-control-backdrop{padding:9px}.user-control-heading{padding:17px 15px 13px}.user-control-avatar{width:42px;height:42px}.user-control-heading h2{font-size:18px}.user-control-tabs{padding:7px 12px 0;gap:4px}.user-control-tab{font-size:11px;min-height:43px}.user-control-scroll{padding:16px 14px 22px}.user-account-info{gap:7px}.user-account-info>div{padding:12px}.user-control-uid code{max-width:190px}.user-finance-mini-stats strong{font-size:14px}.user-ledger-entry{gap:9px;padding:11px 9px}.user-ledger-detail small{font-size:9px}.user-ledger-entry>b{font-size:11px}}
@media(prefers-reduced-motion:reduce){.user-control-pane{animation:none}.user-control-tab,.user-control-close{transition:none}}


/* ========================================================================
   FIX STORE V8.9 — Quiet Luxury UI
   A visual-only layer scoped to the catalog, admin code audit, and wallet.
   Backend/Firebase/SlipOK state flows continue to use the V8.8 application.
   ======================================================================== */
:root{
  --fx89-bg:#0a0b0d;
  --fx89-surface:#14161a;
  --fx89-raised:#1b1d22;
  --fx89-line:#30343a;
  --fx89-muted:#9ba2ad;
  --fx89-white:#f1f3f6;
  --fx89-ease:cubic-bezier(.22,.76,.25,1);
}

/* 01 — CATALOG. Remove the huge search/filter frame and boxed product cards. */
.fx-v89-shop{padding-top:28px;padding-bottom:44px;max-width:1180px;margin-inline:auto}
.fx-v89-shop-head{margin-bottom:21px!important;align-items:end}
.fx-v89-shop-head .eyebrow{letter-spacing:.2em;font-size:9px;color:#7d8490}
.fx-v89-shop-head .page-title{font-size:clamp(25px,3vw,34px);letter-spacing:-.045em;margin:6px 0 5px}
.fx-v89-shop-head p{font-size:12px;color:#888f99;line-height:1.7}
.fx-v89-category-link{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:#b3bac4;font-weight:650;font-size:11px;white-space:nowrap;transition:color .18s}
.fx-v89-category-link svg{width:14px;height:14px}
.fx-v89-category-link:hover{color:#fff}
.fx-v89-catalog-nav{position:relative;min-width:0;margin:0 0 19px;overflow-x:auto;scrollbar-width:none}
.fx-v89-catalog-nav::-webkit-scrollbar{display:none}
.fx-v89-catalog-nav .category-pills{display:flex;flex-wrap:nowrap;gap:6px;padding-bottom:4px;width:max-content;min-width:100%;align-items:center}
.fx-v89-catalog-nav .pill{min-height:34px;padding:7px 13px;background:transparent;border:1px solid transparent;color:#949ca7;font-size:11px;border-radius:8px;font-weight:700}
.fx-v89-catalog-nav .pill:hover:not(.active){background:#1a1d22;border-color:#31363f;color:#e6e9ee}
.fx-v89-catalog-nav .pill.active{background:#e8eaee;color:#16181b;border-color:#e8eaee}
.fx-v89-catalog-list-head{display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:center!important;gap:12px;flex-wrap:wrap;border-top:1px solid #262a30;padding-top:15px;margin:0 0 17px!important}
.fx-v89-catalog-list-head .shop-count{margin:0;font:700 11px var(--font);letter-spacing:0;color:#89919b;white-space:nowrap}
.fx-v89-catalog-list-head .stock-filters{display:flex;gap:5px;flex-wrap:wrap}
.fx-v89-catalog-list-head .stock-filter{border:1px solid transparent!important;background:transparent!important;color:#828c99!important;border-radius:8px!important;min-height:30px!important;padding:5px 10px!important;font-size:10px!important;line-height:1.2;box-shadow:none!important}
.fx-v89-catalog-list-head .stock-filter:hover{border-color:#404751!important;color:#eef1f5!important}
.fx-v89-catalog-list-head .stock-filter.active{background:#232831!important;border-color:#3f4854!important;color:#f2f4f7!important}
.fx-v89-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:21px 19px!important;align-items:start}
.fx-v89-product-grid .fx-v89-product.product-card{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;min-width:0;overflow:visible!important;transform:none;transition:none;display:flex;flex-direction:column;height:100%;isolation:isolate}
.fx-v89-product-grid .fx-v89-product.product-card:hover{border:0!important;box-shadow:none!important;transform:none!important}
.fx-v89-product .portrait-image-frame{position:relative;width:100%!important;margin:0!important;border-radius:13px!important;border:1px solid #31363e;background:#181b21;overflow:hidden!important;transition:border-color .22s var(--fx89-ease),transform .3s var(--fx89-ease)!important}
.fx-v89-product .portrait-image-frame:hover{border-color:#77808b;transform:translateY(-2px)}
.fx-v89-product .product-image-link,.fx-v89-product .product-art{border-radius:12px!important;overflow:hidden}
.fx-v89-product .product-art>img{object-fit:contain!important;display:block;width:100%;height:100%;padding:0}
.fx-v89-product .product-art{background:#181b20!important}
.fx-v89-product-badge{position:absolute;left:10px;top:10px;z-index:2;background:rgba(13,15,19,.86);border:1px solid #ffffff2e;backdrop-filter:blur(8px);padding:5px 8px;border-radius:6px;font-size:10px;color:#e8eaf0;font-weight:700;line-height:1.2;max-width:calc(100% - 20px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fx-v89-product .portrait-info{gap:4px!important;padding:12px 2px 1px!important;min-height:0!important;display:flex;flex-direction:column;flex:1}
.fx-v89-product .product-category-meta{color:#858d9a;font-size:10px;line-height:1.7}
.fx-v89-product .portrait-name-link{color:#f2f3f5}
.fx-v89-product .portrait-info h3{margin:0 0 3px!important;line-height:1.4!important;font-size:14px!important;letter-spacing:-.018em;height:auto!important;min-height:39px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fx-v89-product-purchase{display:flex;gap:8px;align-items:baseline;justify-content:space-between;flex-wrap:wrap;margin-top:6px;padding-bottom:10px}
.fx-v89-product-purchase strong{font:800 clamp(17px,1.7vw,21px)/1.15 var(--latin);letter-spacing:-.04em;color:#f0f1f4}
.fx-v89-product-availability{font-size:9px;color:#8caf9e;white-space:nowrap}
.fx-v89-product-availability.is-out{color:#caa0a6}
.fx-v89-product-footer{padding:10px 0 0!important;border-top:1px solid #262b33;min-height:35px!important;gap:6px;margin-top:auto!important;align-items:center!important}
.fx-v89-product-footer small{color:#757d88;font-size:9px;line-height:1.5}
.fx-v89-product .fx-v89-cart-button{width:auto!important;min-width:0!important;height:31px!important;min-height:31px!important;border-radius:8px!important;display:inline-flex;gap:5px;align-items:center;justify-content:center;white-space:nowrap;padding:0 9px!important;font-size:10px;font-weight:800;color:#121418!important;background:#e8eaf0!important;border:1px solid #e8eaf0!important;box-shadow:none!important}
.fx-v89-product .fx-v89-cart-button svg{width:12px;height:12px}
.fx-v89-product .fx-v89-cart-button:hover{background:#fff!important;transform:translateY(-1px)!important}
.fx-v89-unavailable{font-size:10px;color:#9098a3}
.fx-v89-product .soldout-veil{background:rgba(8,9,12,.39);border-radius:12px}
@media(max-width:1080px){.fx-v89-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){
 .fx-v89-shop{padding-top:19px;padding-bottom:25px}
 .fx-v89-shop-head{gap:6px;margin-bottom:15px!important}
 .fx-v89-shop-head .page-title{font-size:25px}
 .fx-v89-shop-head p{font-size:10px}
 .fx-v89-category-link{font-size:10px}
 .fx-v89-catalog-list-head{padding-top:11px;margin-bottom:12px!important;gap:7px}
 .fx-v89-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 12px!important}
 .fx-v89-product .portrait-info{padding:9px 1px 1px!important}
 .fx-v89-product .portrait-info h3{font-size:12px!important;min-height:33px!important}
 .fx-v89-product-purchase strong{font-size:18px}
 .fx-v89-product-purchase{align-items:flex-start;flex-direction:column;gap:3px;padding-bottom:8px}
 .fx-v89-product-footer{gap:4px}
 .fx-v89-product-footer small{display:none}
 .fx-v89-product .fx-v89-cart-button{width:100%!important;min-height:34px!important}
 .fx-v89-product-badge{font-size:9px}
}
@media(max-width:430px){.fx-v89-shop-head{align-items:start;flex-wrap:wrap}.fx-v89-catalog-list-head .stock-filter{padding:4px 8px!important}}

/* 02 — ADMIN. Smaller controls, less chrome, better data density. */
.promo-v76-heading:has(.fx-v89-admin-shortcut){margin:0 0 17px;gap:12px;align-items:center}
.promo-v76-heading>div p{line-height:1.7;font-size:11px;color:#929aa6;max-width:520px}
.fx-v89-admin-shortcut{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 1px 7px 10px;border:0;border-radius:7px;color:#acb5c2;text-decoration:none;font-size:11px;font-weight:700;white-space:nowrap;transition:color .18s}
.fx-v89-admin-shortcut:hover{color:#fff}
.fx-v89-admin-shortcut svg{width:13px;height:13px;flex:none}
.fx-v89-admin-shortcut svg:first-child{display:none}
.code-history-panel{padding:21px!important;border-radius:16px!important}
.code-history-head{align-items:center;margin-bottom:16px;flex-wrap:nowrap;gap:12px}
.code-history-head .eyebrow{color:#7d8794;font-size:9px;letter-spacing:.15em}
.code-history-head h3{font-size:17px;margin:6px 0 2px;letter-spacing:-.02em}
.code-history-head p{font-size:10px;line-height:1.5}
.fx-v89-history-refresh{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px;border:1px solid #3b424c;border-radius:8px;background:#191e25;color:#cbd1da;font-size:10px;font-weight:700;cursor:pointer;white-space:nowrap;transition:background .18s,border-color .18s}
.fx-v89-history-refresh svg{width:13px;height:13px}
.fx-v89-history-refresh:hover{background:#2b323c;border-color:#75818e;color:#fff}
.code-history-summary{gap:8px!important;margin-bottom:12px}
.code-history-summary>div{background:#15191e!important;border:1px solid #303640!important;border-radius:10px!important;padding:11px 13px!important;gap:4px}
.code-history-summary span{font-size:10px!important;color:#929aa5}
.code-history-summary strong{font-size:19px!important;letter-spacing:-.035em}
.code-history-scroll{border-radius:12px;border-color:#30343b}
.code-history-table{min-width:800px}
.code-history-table thead{background:#1a1e24}
.code-history-table th{font-size:10px;color:#a1aab4;font-weight:700}
.code-history-table td{padding:12px!important;font-size:11px;line-height:1.5}
.code-history-table td:first-child{min-width:180px}
.fx-v89-code-inline{display:flex;align-items:center;gap:8px;max-width:100%;min-width:0}
.fx-v89-code-inline code{font:700 10px/1.5 var(--latin),monospace;letter-spacing:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:205px;flex:1}
.code-history-table .history-copy.fx-v89-icon-action{flex:none!important;display:inline-grid!important;place-items:center!important;border:1px solid #4b5561!important;background:#20262e!important;color:#e1e6ec!important;border-radius:7px!important;width:30px!important;height:30px!important;min-height:30px!important;min-width:30px!important;margin:0!important;padding:0!important;transition:background .18s,border-color .18s}
.code-history-table .history-copy.fx-v89-icon-action svg{width:15px!important;height:15px!important}
.code-history-table .history-copy.fx-v89-icon-action:hover{border-color:#adb8c5!important;background:#333c47!important;color:#fff!important}
.code-history-status{font-size:10px;border-radius:7px;padding:4px 7px}
.code-history-note{font-size:10px;margin-top:12px;line-height:1.6}
@media(max-width:760px){
 .code-history-panel{padding:14px!important}
 .code-history-head{flex-wrap:wrap;gap:10px}
 .code-history-head h3{font-size:15px}
 .code-history-head p{font-size:10px}
 .code-history-head .fx-v89-history-refresh{width:auto!important;margin-left:auto;min-height:33px!important}
 .code-history-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .code-history-summary strong{font-size:17px!important}
 .promo-v76-heading:has(.fx-v89-admin-shortcut){align-items:flex-start;flex-direction:column;margin-bottom:12px}
 .fx-v89-admin-shortcut{padding:4px 0}
}

/* 03 — WALLET LANDING + AMOUNT SELECTOR. Editorial spacing, flat materials. */
.fx-v89-wallet-choice{max-width:850px;margin-top:32px}
.fx-v89-wallet-choice .wallet-choice-heading{text-align:left;margin:0 0 22px}
.fx-v89-wallet-choice .wallet-choice-heading .eyebrow{color:#969da7;margin-bottom:9px}
.fx-v89-wallet-choice .wallet-choice-heading h1{font-size:clamp(30px,3.7vw,41px);font-weight:780;margin-bottom:5px;letter-spacing:-.05em}
.fx-v89-wallet-choice .wallet-choice-heading p{color:#8f97a1;font-size:12px}
.fx-v89-wallet-choice .fx-wallet-balance,.fx-v89-wallet-method .fx-wallet-balance{border:1px solid #363c45;background:#171b20;box-shadow:none;border-radius:15px;padding:21px 24px;margin-bottom:24px}
.fx-v89-wallet-choice .fx-wallet-balance:before,.fx-v89-wallet-method .fx-wallet-balance:before{display:none}
.fx-v89-wallet-choice .fx-wallet-balance strong,.fx-v89-wallet-method .fx-wallet-balance strong{font-size:clamp(28px,3vw,35px);font-weight:780}
.fx-v89-wallet-choice .wallet-choice-grid{gap:12px}
.fx-v89-wallet-choice .wallet-option-card{min-height:198px;border-radius:15px;padding:22px;background:#14171b;border:1px solid #333942;box-shadow:none}
.fx-v89-wallet-choice .wallet-option-card::before{display:none}
.fx-v89-wallet-choice .wallet-option-symbol{width:39px;height:39px;border-radius:10px;margin-bottom:14px;background:#252b33;border-color:#424b57;box-shadow:none}
.fx-v89-wallet-choice .wallet-option-symbol svg{width:18px;height:18px}
.fx-v89-wallet-choice .wallet-option-type{letter-spacing:.1em;font-size:9px;margin-bottom:5px}
.fx-v89-wallet-choice .wallet-option-card strong{font-size:21px;margin-bottom:5px}
.fx-v89-wallet-choice .wallet-option-card small{font-size:11px;line-height:1.6}
.fx-v89-wallet-choice .wallet-option-cta{font-size:11px;padding-top:14px}
.fx-v89-wallet-choice .wallet-option-card:hover{transform:translateY(-2px);border-color:#75808f;box-shadow:0 12px 28px #0004}
.fx-v89-wallet-method .fx-wallet-back{border:0;padding:8px 0;background:transparent;border-radius:0;color:#afb9c5}
.fx-v89-wallet-method .credit-page-heading h1{font-weight:780;letter-spacing:-.04em}
.fx-v89-wallet-method .credit-method-panel,.fx-v89-wallet-method .credit-info-panel{background:#15181d;box-shadow:none;border:1px solid #343941;border-radius:15px}
.fx-v89-wallet-method .credit-method-panel{min-height:330px}
.fx-v89-wallet-method .credit-amount-choice{padding:15px 14px;border-radius:9px;background:#1e232a;box-shadow:none;border:1px solid #393f49}
.fx-v89-wallet-method .credit-amount-choice.active{background:#eceef1;border-color:#eceef1;color:#15181b;box-shadow:none}
.fx-v89-wallet-method .credit-amount-choice:hover{transform:translateY(-1px)}
.fx-v89-wallet-method .credit-main-btn{min-height:46px;border-radius:10px}
@media(max-width:650px){
 .fx-v89-wallet-choice{margin-top:17px}
 .fx-v89-wallet-choice .wallet-choice-grid{grid-template-columns:1fr;gap:10px}
 .fx-v89-wallet-choice .wallet-option-card{min-height:167px;padding:19px}
 .fx-v89-wallet-choice .fx-wallet-balance,.fx-v89-wallet-method .fx-wallet-balance{padding:16px}
 .fx-v89-wallet-method .credit-amount-choice{padding:12px 9px}
}

/* 04 — PAYMENT DIALOG. Compact two-column payment checkout, no glowing AI panels. */
.fx-v89-payment-backdrop{background:rgba(0,0,0,.83)!important;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);padding:16px!important}
.wallet-modal.wallet-payment-dialog.fx-v89-payment-dialog{
 position:relative;display:block;overflow-y:auto;overflow-x:hidden;
 width:min(810px,100%)!important;max-width:810px!important;max-height:min(92dvh,860px)!important;
 padding:0!important;margin:auto!important;border-radius:17px!important;
 background:#121519!important;border:1px solid #4a5059!important;
 box-shadow:0 32px 100px #000b,0 0 0 1px #ffffff05!important;
 color:#e9edf2;
}
.fx-v89-payment-dialog .wallet-payment-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #30353d;margin:0!important;padding:23px 26px 20px!important;background:#16191e}
.fx-v89-payment-dialog .wallet-payment-title-group{display:block;min-width:0}
.fx-v89-payment-overline{display:flex;align-items:center;gap:9px;color:#9ca6b4;font:700 9px/1.4 var(--latin);letter-spacing:.12em;margin:0 0 13px}
.fx-v89-brand-square{display:grid;place-items:center;flex:none;width:23px;height:23px;color:#14171b;background:#f1f2f5;border-radius:5px;font:850 12px var(--latin);letter-spacing:0}
.fx-v89-overline-divider{height:12px;width:1px;background:#4a515c;margin:0 2px}
.fx-v89-payment-dialog .wallet-payment-title h2{font:800 clamp(20px,2.4vw,25px)/1.24 var(--font);letter-spacing:-.04em;color:#f6f7f8;margin:0 0 7px}
.fx-v89-payment-dialog .wallet-payment-title p{color:#98a2ae;font-size:11px;line-height:1.5;margin:0}
.fx-v89-payment-dialog .wallet-payment-close{flex:none;display:grid;place-items:center;width:31px;height:31px;font-size:21px!important;font-weight:400;line-height:1;background:transparent!important;border:1px solid #3e4650!important;border-radius:8px!important;color:#b6bec9!important;cursor:pointer}
.fx-v89-payment-dialog .wallet-payment-close:hover{background:#282e36!important;color:#fff!important}
.fx-v89-payment-dialog .wallet-payment-steps{display:flex;align-items:center;gap:20px;padding:12px 26px!important;border-bottom:1px solid #30353d;font-size:10px;background:#171a1f;color:#818c99;overflow-x:auto;scrollbar-width:none}
.fx-v89-payment-dialog .wallet-payment-steps span{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.fx-v89-payment-dialog .wallet-payment-steps span+span:before{display:none}
.fx-v89-payment-dialog .wallet-payment-steps b{display:grid;place-items:center;width:22px;height:22px;background:#242a32;border:1px solid #3b4450;border-radius:6px;font:700 10px var(--latin);color:#9faab8}
.fx-v89-payment-dialog .wallet-payment-steps .current{color:#f5f7fa}
.fx-v89-payment-dialog .wallet-payment-steps .current b{color:#111317;background:#edf0f4;border-color:#edf0f4}
.fx-v89-payment-dialog .wallet-payment-columns{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);min-width:0}
.fx-v89-payment-dialog .wallet-payment-qr-section{background:#14171b;border-right:1px solid #323942;padding:24px 26px 23px;min-width:0}
.fx-v89-payment-dialog .wallet-payment-slip-section{background:#171b20;padding:24px 26px 23px;min-width:0}
.fx-v89-payment-dialog .fx-v89-payment-side-heading{display:flex;gap:8px;justify-content:space-between;align-items:center;margin:0 0 17px;min-height:35px}
.fx-v89-payment-dialog .wallet-payment-section-head>div{gap:4px}
.fx-v89-payment-dialog .wallet-payment-section-head strong{font-size:13px;color:#f1f4f7;line-height:1.35;font-weight:800}
.fx-v89-payment-dialog .wallet-payment-section-head small{font-size:10px;line-height:1.5;color:#8a95a3}
.fx-v89-field-label{font:700 9px var(--latin);letter-spacing:.12em;color:#808b99;margin-bottom:1px}
.fx-v89-payment-dialog .wallet-payment-expiry{display:inline-flex;align-items:center;gap:7px;border-radius:7px;padding:5px 8px;white-space:nowrap;background:#1d242d;border:1px solid #3e4956;color:#d9e0e8}
.fx-v89-payment-dialog .wallet-payment-expiry b{font:800 12px var(--latin);font-variant-numeric:tabular-nums;letter-spacing:.025em}
.fx-v89-payment-dialog .wallet-countdown-dot{width:6px;height:6px;background:#90bba2;box-shadow:none}
.fx-v89-payment-dialog .wallet-payment-qr-stage{min-height:245px;max-height:none;padding:18px!important;border-radius:12px!important;background:#eceef2!important;border:1px solid #fff!important;box-shadow:none!important}
.fx-v89-payment-dialog .wallet-payment-qr-paper{padding:7px!important;border-radius:5px!important;box-shadow:none!important;background:#fff!important;max-width:100%}
.fx-v89-payment-dialog .wallet-payment-qr-paper img{display:block;width:218px;height:218px;max-width:100%;object-fit:contain}
.fx-v89-payment-dialog .wallet-payment-amount{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 13px;padding:0 1px}
.fx-v89-payment-dialog .wallet-payment-amount>span{font-size:10px;color:#9ea8b5;display:grid;gap:3px}
.fx-v89-payment-dialog .wallet-payment-amount strong{font:850 30px/1.2 var(--latin);letter-spacing:-.045em;color:#f4f6f8}
.fx-v89-payment-dialog .wallet-payment-amount>small{font-size:10px;color:#929ba7;line-height:1.5;text-align:right}
.fx-v89-payment-dialog .wallet-qr-download{height:40px;min-height:40px;width:100%;border-radius:9px;background:#252b34;border:1px solid #48515e;color:#e3e9f0;font-weight:750;font-size:11px;box-shadow:none;transition:background .18s}
.fx-v89-payment-dialog .wallet-qr-download:hover{background:#303946}
.fx-v89-payment-dialog .wallet-qr-download svg{width:15px;height:15px}
.fx-v89-payment-dialog .wallet-payment-tip{margin-top:10px;font-size:9px;line-height:1.55;color:#808b97}
.fx-v89-payment-dialog .wallet-slip-form.wallet-payment-slip-section{display:flex;flex-direction:column;gap:0}
.fx-v89-payment-dialog .wallet-slip-form.wallet-payment-slip-section label.wallet-upload-zone{
 position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
 min-height:233px;padding:16px 13px;text-align:center;gap:7px;cursor:pointer;
 border:1px dashed #515b69;border-radius:11px;
 background:#1e242b;transition:border-color .2s,background .2s;
}
.fx-v89-payment-dialog .wallet-upload-zone:hover,.fx-v89-payment-dialog .wallet-upload-zone.fx-v89-drag-over{border-color:#d1dae4!important;background:#27313b!important}
.fx-v89-payment-dialog .wallet-upload-graphic{display:grid;place-items:center;width:43px;height:43px;border-radius:9px;background:#2d3540;border:1px solid #515b68;color:#d4dce6;box-shadow:none;margin-bottom:4px}
.fx-v89-payment-dialog .wallet-upload-graphic svg{width:22px;height:22px}
.fx-v89-payment-dialog .wallet-upload-zone strong{font-size:12px;line-height:1.5;font-weight:750;max-width:100%;overflow-wrap:anywhere}
.fx-v89-payment-dialog .wallet-upload-zone small{font-size:9px;color:#8997a8;line-height:1.5}
.fx-v89-payment-dialog .wallet-upload-browse{display:inline-flex;align-items:center;justify-content:center;gap:7px;margin-top:6px;padding:9px 14px;background:#dfe5ec;border-radius:7px;color:#171b21;font-size:11px;font-weight:800}
.fx-v89-payment-dialog .wallet-upload-browse svg{width:13px;height:13px}
.fx-v89-payment-dialog .wallet-upload-zone.has-file{border-color:#729981;background:#1c2c27}
.fx-v89-payment-dialog .wallet-upload-zone.has-file .wallet-upload-graphic{display:none}
.fx-v89-slip-preview{display:block;width:auto;max-width:100%;max-height:110px;object-fit:contain;border:1px solid #566374;border-radius:6px;margin:3px auto}
.fx-v89-slip-preview[hidden]{display:none!important}
.fx-v89-payment-dialog .wallet-payment-check-list{display:grid;gap:7px;margin:17px 0 15px;color:#acb6c2;font-size:10px;line-height:1.35}
.fx-v89-payment-dialog .wallet-payment-check-list span{gap:7px}
.fx-v89-payment-dialog .wallet-payment-check-list svg{width:13px;height:13px;color:#9cc8af}
.fx-v89-payment-dialog .wallet-submit-payment{min-height:44px!important;border-radius:9px!important;background:#edf0f4!important;border:1px solid #edf0f4!important;color:#17191d!important;box-shadow:none!important;font-size:12px;font-weight:800}
.fx-v89-payment-dialog .wallet-submit-payment:hover:not(:disabled){background:#fff!important;transform:translateY(-1px)}
.fx-v89-payment-dialog .wallet-submit-payment svg{width:15px;height:15px}
.fx-v89-payment-dialog .wallet-payment-verify-footnote{font-size:9px;color:#89939f;line-height:1.6;margin:10px 0 0}
.fx-v89-payment-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:11px 26px;border-top:1px solid #30353d;color:#7c8590;background:#13161b;font:650 9px/1.5 var(--latin);letter-spacing:.06em}
.fx-v89-payment-dialog.wallet-qr-expired .wallet-expired-message{margin-top:13px;padding:12px;border-radius:9px}
.fx-v89-payment-dialog.wallet-qr-expired .wallet-payment-qr-stage:after{color:#d73949;text-shadow:0 1px 0 #fff}
.fx-v89-payment-dialog :is(button,label,input):focus-visible{outline:2px solid #ecf1f8!important;outline-offset:3px}
@media(max-width:780px){
 .wallet-modal.wallet-payment-dialog.fx-v89-payment-dialog{width:min(650px,100%)!important}
 .fx-v89-payment-dialog .wallet-payment-qr-section,.fx-v89-payment-dialog .wallet-payment-slip-section{padding:20px}
 .fx-v89-payment-dialog .wallet-payment-qr-paper img{width:190px;height:190px}
 .fx-v89-payment-dialog .wallet-payment-qr-stage{min-height:212px}
}
@media(max-width:640px){
 .fx-v89-payment-backdrop{padding:8px!important;align-items:flex-start!important}
 .wallet-modal.wallet-payment-dialog.fx-v89-payment-dialog{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 16px)!important;border-radius:13px!important}
 .fx-v89-payment-dialog .wallet-payment-title{padding:18px 17px 16px!important}
 .fx-v89-payment-dialog .wallet-payment-title h2{font-size:20px}
 .fx-v89-payment-dialog .wallet-payment-title p{font-size:10px}
 .fx-v89-payment-dialog .wallet-payment-steps{padding:11px 17px!important;gap:12px;font-size:9px}
 .fx-v89-payment-dialog .wallet-payment-steps span{gap:5px}
 .fx-v89-payment-dialog .wallet-payment-steps b{width:20px;height:20px}
 .fx-v89-payment-dialog .wallet-payment-columns{grid-template-columns:1fr!important}
 .fx-v89-payment-dialog .wallet-payment-qr-section{border-right:0;border-bottom:1px solid #323942;padding:18px 18px 20px}
 .fx-v89-payment-dialog .wallet-payment-slip-section{padding:18px 18px 20px}
 .fx-v89-payment-dialog .wallet-payment-qr-stage{min-height:196px;padding:12px!important}
 .fx-v89-payment-dialog .wallet-payment-qr-paper img{width:192px;height:192px}
 .fx-v89-payment-dialog .wallet-payment-amount strong{font-size:27px}
 .fx-v89-payment-dialog .wallet-slip-form.wallet-payment-slip-section label.wallet-upload-zone{min-height:173px}
 .fx-v89-payment-footer{padding:11px 18px}
}
@media(max-width:370px){.fx-v89-payment-dialog .wallet-payment-title h2{font-size:18px}.fx-v89-payment-dialog .wallet-payment-qr-paper img{width:171px;height:171px}.fx-v89-payment-dialog .wallet-payment-steps{gap:7px}}
@media(prefers-reduced-motion:reduce){
 .fx-v89-product .portrait-image-frame,.fx-v89-product .fx-v89-cart-button,.fx-v89-history-refresh,.fx-v89-payment-dialog :is(button,.wallet-upload-zone),.fx-v89-wallet-choice .wallet-option-card{transition:none!important;animation:none!important;transform:none!important}
}


/* V8.9.1 — Wallet 2-step wizard */
.fx-v89-payment-dialog .wallet-payment-wizard{padding:0;min-width:0}
.fx-v89-payment-dialog .wallet-payment-stage{padding:26px;min-width:0}
.fx-v89-payment-dialog .wallet-payment-stage[hidden]{display:none!important}
.fx-v89-payment-dialog .wallet-payment-steps{gap:12px!important}
.fx-v89-payment-dialog .wallet-payment-steps span{position:relative;padding:8px 12px;border:1px solid #323842;border-radius:999px;background:#181c22;color:#8f99a7;transition:all .18s ease}
.fx-v89-payment-dialog .wallet-payment-steps .current{background:linear-gradient(180deg,#f2f4f7,#dfe5ee);color:#151821;border-color:#dce2ea;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.fx-v89-payment-dialog .wallet-payment-steps .current b{background:#151821!important;border-color:#151821!important;color:#fff!important}
.fx-v89-payment-dialog .wallet-payment-hero-grid{display:grid;grid-template-columns:minmax(300px,1.05fr) minmax(260px,.95fr);gap:20px;align-items:stretch}
.fx-v89-payment-dialog .wallet-payment-sidecard{display:flex;flex-direction:column;gap:16px;padding:18px 18px 16px;border:1px solid #303844;border-radius:18px;background:linear-gradient(180deg,rgba(33,39,49,.95),rgba(24,28,35,.98));box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.fx-v89-payment-dialog .wallet-step-one-check{margin:0}
.fx-v89-payment-dialog .wallet-step-actions{display:flex;flex-direction:column;gap:12px;margin-top:auto}
.fx-v89-payment-dialog .wallet-next-step{min-height:52px;font-size:14px;justify-content:center;box-shadow:0 14px 28px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.45)}
.fx-v89-payment-dialog .wallet-step-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;margin:-2px 0 18px;border:1px solid #323b47;border-radius:16px;background:linear-gradient(180deg,rgba(32,38,47,.9),rgba(23,27,34,.96))}
.fx-v89-payment-dialog .wallet-step-summary span{display:block;font-size:11px;color:#98a4b3;margin-bottom:3px}
.fx-v89-payment-dialog .wallet-step-summary strong{font:800 26px/1 var(--latin);letter-spacing:-.04em;color:#f6f8fb}
.fx-v89-payment-dialog .wallet-payment-expiry-soft{margin-left:auto}
.fx-v89-payment-dialog .wallet-submit-row{display:flex;justify-content:flex-end;margin-top:4px}
.fx-v89-payment-dialog .wallet-submit-payment{min-width:min(100%,320px);justify-content:center;min-height:52px}
.fx-v89-payment-dialog .wallet-upload-zone{min-height:260px}
.fx-v89-payment-dialog .wallet-expired-message{margin-top:18px}
.wallet-qr-expired [data-action="wallet-next-step"]{opacity:.55;pointer-events:none}
@media (max-width: 860px){
 .fx-v89-payment-dialog .wallet-payment-stage{padding:20px}
 .fx-v89-payment-dialog .wallet-payment-hero-grid{grid-template-columns:minmax(0,1fr)}
 .fx-v89-payment-dialog .wallet-payment-sidecard{padding:16px}
}
@media (max-width: 620px){
 .fx-v89-payment-dialog .wallet-payment-stage{padding:18px}
 .fx-v89-payment-dialog .wallet-payment-steps{padding:12px 17px!important}
 .fx-v89-payment-dialog .wallet-payment-steps span{padding:7px 10px;font-size:10px}
 .fx-v89-payment-dialog .wallet-payment-steps b{width:20px;height:20px}
 .fx-v89-payment-dialog .wallet-step-summary{flex-direction:column;align-items:flex-start}
 .fx-v89-payment-dialog .wallet-submit-row{display:block}
 .fx-v89-payment-dialog .wallet-submit-payment,.fx-v89-payment-dialog .wallet-next-step{width:100%}
 .fx-v89-payment-dialog .wallet-upload-zone{min-height:220px}
}

/* V8.9.2 — wallet QR readiness UX */
.wallet-qr-status-note[hidden]{display:none!important}
.wallet-qr-status-note{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;line-height:1.65}
.wallet-qr-retry{border:1px solid #626d7c;background:#2a3039;border-radius:10px;padding:9px 13px;color:#f4f6fa;font-weight:650;font-size:12px;cursor:pointer}
.wallet-qr-retry:hover{background:#3b4552}
.wallet-qr-retry:focus-visible{outline:2px solid #cbd2dc;outline-offset:2px}


/* V8.9.3 — Premium wallet top-up UI */
.fx-wallet-premium-page,.fx-wallet-premium-method{position:relative}
.fx-wallet-premium-page:before,.fx-wallet-premium-method:before{content:'';position:absolute;inset:-24px 10% auto 10%;height:220px;background:radial-gradient(circle at center,rgba(255,255,255,.12),rgba(255,255,255,0));pointer-events:none;filter:blur(36px);opacity:.65}
.fx-wallet-landing-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:18px;align-items:stretch;margin-bottom:18px}
.fx-wallet-landing-copy,.fx-wallet-page-heading{position:relative;z-index:1}
.fx-wallet-landing-copy{padding:28px;border:1px solid rgba(255,255,255,.07);border-radius:28px;background:linear-gradient(180deg,rgba(21,24,31,.94),rgba(13,16,22,.98));box-shadow:0 28px 60px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.04)}
.fx-wallet-landing-copy h1{font-size:clamp(30px,4vw,42px);line-height:1.05;letter-spacing:-.04em;margin:10px 0 10px}
.fx-wallet-landing-copy p{max-width:720px;font-size:14px;line-height:1.8;color:#aeb6c2;margin:0}
.fx-wallet-landing-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.fx-wallet-landing-tags span,.fx-wallet-method-tags span,.fx-wallet-option-meta span{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.03);font-size:11px;color:#edf2f7}
.fx-wallet-landing-tags svg,.fx-wallet-method-tags svg{width:13px;height:13px}
.fx-wallet-premium-page .fx-wallet-balance,.fx-wallet-premium-method .fx-wallet-balance{padding:24px 24px 22px;border-radius:26px;background:linear-gradient(180deg,rgba(31,36,46,.95),rgba(17,21,27,.98));border:1px solid rgba(255,255,255,.07);box-shadow:0 22px 48px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.04)}
.fx-wallet-premium-page .fx-wallet-balance small,.fx-wallet-premium-method .fx-wallet-balance small{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#95a0ae}
.fx-wallet-premium-page .fx-wallet-balance-value,.fx-wallet-premium-method .fx-wallet-balance-value{font-size:clamp(26px,3vw,36px);line-height:1.05}
.fx-wallet-premium-page .fx-wallet-account,.fx-wallet-premium-method .fx-wallet-account{padding:10px 12px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.03)}
.fx-wallet-choice-grid{gap:18px!important;grid-template-columns:repeat(2,minmax(0,1fr))}
.fx-wallet-option-card{position:relative;overflow:hidden;padding:26px!important;border-radius:28px!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(180deg,rgba(20,24,31,.94),rgba(13,16,22,.98))!important;box-shadow:0 26px 56px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.04)}
.fx-wallet-option-card:before{content:'';position:absolute;inset:auto -10% -42% auto;width:220px;height:220px;border-radius:999px;background:radial-gradient(circle,rgba(255,255,255,.12),rgba(255,255,255,0) 70%);pointer-events:none}
.fx-wallet-option-card.is-primary{background:linear-gradient(180deg,rgba(28,32,40,.96),rgba(13,16,22,.98))!important}
.fx-wallet-option-card strong{font-size:26px!important;letter-spacing:-.03em}
.fx-wallet-option-card p{margin:10px 0 0;font-size:13px;line-height:1.8;color:#b3bcc7}
.fx-wallet-option-card .wallet-option-type{font-size:10px!important;letter-spacing:.16em;color:#97a3b2}
.fx-wallet-option-card .wallet-option-symbol{width:54px;height:54px;border-radius:18px;background:linear-gradient(180deg,#eef2f7,#cfd7e2);color:#161b22;box-shadow:0 10px 24px rgba(0,0,0,.22)}
.fx-wallet-option-card .wallet-option-symbol svg{width:24px;height:24px}
.fx-wallet-option-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.fx-wallet-option-card .wallet-option-cta{margin-top:22px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}
.fx-wallet-note-bar{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;margin-top:14px;padding:16px 20px;border:1px solid rgba(255,255,255,.06);border-radius:20px;background:rgba(255,255,255,.025);color:#aab3bf;font-size:12px;line-height:1.7}
.fx-wallet-note-bar span{display:inline-flex;align-items:center;gap:8px}
.fx-wallet-note-bar svg{width:14px;height:14px;color:#dfe6ef}
.fx-wallet-main-panel{padding:24px!important;border-radius:30px!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(180deg,rgba(21,25,32,.95),rgba(12,15,20,.98))!important;box-shadow:0 30px 64px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.04)}
.fx-wallet-side-panel{border-radius:24px!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(180deg,rgba(23,27,35,.9),rgba(14,17,23,.98))!important;box-shadow:0 24px 56px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.04)}
.fx-wallet-method-head{margin-bottom:10px}
.fx-wallet-method-head h2{font-size:28px;letter-spacing:-.03em}
.fx-wallet-method-head p{font-size:13px;line-height:1.8;color:#aeb7c2}
.fx-wallet-method-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.fx-wallet-amount-shell{margin-top:22px;padding:22px;border:1px solid rgba(255,255,255,.06);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015))}
.fx-wallet-amount-title{display:grid;gap:4px;margin-bottom:16px}
.fx-wallet-amount-title strong{font-size:16px;color:#f4f7fa}
.fx-wallet-amount-title small{font-size:12px;color:#96a1b0}
.fx-wallet-amount-picks{gap:12px!important}
.fx-wallet-main-panel .credit-amount-choice{min-height:88px;border-radius:20px!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(180deg,rgba(21,24,31,.88),rgba(17,20,27,.98))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.fx-wallet-main-panel .credit-amount-choice:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.16)!important}
.fx-wallet-main-panel .credit-amount-choice.active{background:linear-gradient(180deg,#f2f5f8,#dbe2ec)!important;color:#11161d!important;border-color:#edf2f6!important;box-shadow:0 18px 32px rgba(0,0,0,.2)}
.fx-wallet-main-panel .credit-amount-choice.active small,.fx-wallet-main-panel .credit-amount-choice.active b{color:#11161d!important}
.fx-wallet-intent-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end;margin-top:16px}
.fx-wallet-intent-form label{font-size:12px;color:#aab4c1}
.fx-wallet-intent-form .input,.fx-wallet-redeem-form .input{height:54px;border-radius:16px!important;background:#141922!important;border:1px solid rgba(255,255,255,.08)!important;color:#f4f7fb!important;padding-inline:16px!important}
.fx-wallet-create-btn{min-height:54px!important;padding-inline:20px!important;border-radius:16px!important;box-shadow:0 16px 30px rgba(255,255,255,.08),inset 0 1px 0 rgba(255,255,255,.45)!important}
.fx-wallet-main-panel .wallet-qr-status-note{margin-top:16px;padding:14px 16px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.03)}
.fx-wallet-side-stack{gap:16px!important}
.fx-wallet-instructions{gap:10px}
.fx-wallet-instructions li{padding-left:4px;line-height:1.8;color:#c1c9d2}
.fx-wallet-side-panel .credit-disclaimer{margin-top:14px;color:#98a3b0;line-height:1.75}
.fx-wallet-side-panel .credit-history-row{padding:14px 0;border-color:rgba(255,255,255,.06)}
.fx-v89-payment-dialog{box-shadow:0 36px 80px rgba(0,0,0,.5)!important}
.fx-v89-payment-dialog .wallet-payment-title{background:linear-gradient(180deg,#181c23,#12161c)!important}
.fx-v89-payment-dialog .wallet-payment-stage{padding:30px 30px 28px!important}
.fx-v89-payment-dialog .wallet-payment-steps{background:#14181e!important}
.fx-v89-payment-dialog .wallet-payment-sidecard,.fx-v89-payment-dialog .wallet-step-summary{border-color:rgba(255,255,255,.07)!important;background:linear-gradient(180deg,rgba(31,36,46,.95),rgba(18,22,29,.98))!important;box-shadow:0 18px 36px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.04)}
.fx-v89-payment-dialog .wallet-payment-qr-stage{border-radius:24px!important;background:linear-gradient(180deg,#eff3f7,#d9e1ea)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.fx-v89-payment-dialog .wallet-payment-qr-paper{padding:14px!important;border-radius:18px!important;box-shadow:0 18px 40px rgba(16,19,24,.18)!important}
.fx-v89-payment-dialog .wallet-upload-zone{border-radius:18px!important;background:linear-gradient(180deg,rgba(30,36,43,.96),rgba(25,30,36,.98))!important}
.fx-v89-payment-dialog .wallet-upload-browse{border-radius:12px!important;padding:11px 16px!important}
.fx-v89-payment-dialog .wallet-submit-payment,.fx-v89-payment-dialog .wallet-next-step,.fx-wallet-create-btn{font-weight:800!important}
@media (max-width: 980px){
 .fx-wallet-landing-hero{grid-template-columns:minmax(0,1fr)}
 .fx-wallet-choice-grid{grid-template-columns:minmax(0,1fr)!important}
 .fx-wallet-intent-form{grid-template-columns:minmax(0,1fr)}
}
@media (max-width: 640px){
 .fx-wallet-landing-copy,.fx-wallet-premium-page .fx-wallet-balance,.fx-wallet-premium-method .fx-wallet-balance,.fx-wallet-main-panel{padding:20px!important;border-radius:22px!important}
 .fx-wallet-landing-copy h1{font-size:28px}
 .fx-wallet-option-card{padding:22px!important;border-radius:24px!important}
 .fx-wallet-option-card strong{font-size:22px!important}
 .fx-wallet-amount-shell{padding:16px;border-radius:20px}
 .fx-wallet-main-panel .credit-amount-choice{min-height:78px}
 .fx-v89-payment-dialog .wallet-payment-stage{padding:18px!important}
}


/* FIX STORE V8.9.4 — reference-style white/red PromptPay dialogs.
   Presentation only; wallet balance, payment intent, timer and verification
   remain controlled by the original authenticated backend. */
.fx-topup-open-card{width:100%;text-align:left;color:inherit;font:inherit;cursor:pointer}
.fx-topup-backdrop{position:fixed!important;inset:0!important;z-index:6000!important;display:flex!important;justify-content:center!important;align-items:center!important;background:rgba(11,11,12,.79)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;padding:18px!important;overflow-y:auto;overscroll-behavior:contain}
.fx-topup-backdrop .fx-topup-dialog,
.fx-topup-backdrop .wallet-modal.wallet-payment-dialog.fx-v89-payment-dialog.fx-topup-dialog{
  position:relative!important;flex:0 1 auto!important;display:block!important;
  width:min(516px,100%)!important;max-width:516px!important;
  max-height:calc(100dvh - 36px)!important;overflow-x:hidden!important;overflow-y:auto!important;
  margin:auto!important;padding:0!important;background:#fff!important;color:#171717!important;
  border:1px solid #e9e9ed!important;border-radius:16px!important;
  box-shadow:0 24px 80px rgba(0,0,0,.32)!important;
  font-family:'Anuphan',system-ui,sans-serif!important;
  animation:fxTopupPop .29s cubic-bezier(.2,.82,.2,1) both;
}
.fx-topup-dialog *{box-sizing:border-box}
.fx-topup-dialog .fx-topup-header,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-title.fx-topup-header{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:16px!important;min-height:72px!important;padding:19px 27px 13px!important;
  margin:0!important;background:#fff!important;border:none!important;
}
.fx-topup-dialog .fx-topup-header h2,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-title h2{
  font-family:'Anuphan',sans-serif!important;font-size:19px!important;line-height:1.45!important;
  font-weight:800!important;letter-spacing:-.045em!important;color:#151515!important;margin:0!important;
}
.fx-topup-dialog .fx-topup-close,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-close.fx-topup-close{
  display:grid!important;place-items:center!important;flex:none!important;width:28px!important;height:28px!important;
  padding:0!important;margin:0!important;line-height:1!important;font-size:20px!important;font-weight:400!important;
  border:1px solid #f0aaaa!important;color:#c52a31!important;border-radius:8px!important;
  background:#fff!important;cursor:pointer!important;transition:background .18s,border-color .18s,transform .18s;
}
.fx-topup-dialog .fx-topup-close:hover{background:#fff1f1!important;border-color:#e52b34!important;transform:rotate(90deg)}
.fx-topup-dialog :is(button,input):focus-visible{outline:3px solid rgba(218,33,42,.35)!important;outline-offset:3px!important}
.fx-topup-dialog button{font-family:inherit;cursor:pointer}
.fx-topup-content{padding:4px 27px 28px}
.fx-topup-balance{display:flex;align-items:center;gap:15px;min-height:82px;border:1px solid #ffd4d7;background:linear-gradient(180deg,#fffcfc,#fff8f8);border-radius:13px;padding:17px 16px;margin:5px 0 22px}
.fx-topup-balance-icon{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:999px;background:#ffe8e9;color:#e02630}
.fx-topup-balance-icon svg{width:22px;height:22px}
.fx-topup-balance>div{display:grid;gap:2px}
.fx-topup-balance small{font-size:12px;color:#858585}
.fx-topup-balance strong{font-size:18px;color:#e32630;font-weight:800;line-height:1.4}
.fx-topup-amount-form{display:grid;gap:0;color:#161616}
.fx-topup-amount-form>label{font-size:14px;font-weight:750;margin-bottom:12px}
.fx-topup-amount-field{display:flex;align-items:center;gap:12px;height:50px;border:1px solid #dedee2;background:#fff;border-radius:8px;box-shadow:0 2px 3px #00000005;transition:border-color .2s,box-shadow .2s}
.fx-topup-amount-field:focus-within{border-color:#ed4952;box-shadow:0 0 0 3px rgba(224,34,42,.09)}
.fx-topup-amount-field>span{padding-left:14px;color:#6d6d72;font-size:15px}
.fx-topup-amount-field input{width:100%;min-width:0;border:none!important;outline:none!important;box-shadow:none!important;background:transparent!important;color:#151515!important;appearance:textfield;-moz-appearance:textfield;font-family:inherit;font-size:18px;font-weight:800;padding:8px 12px 8px 0}
.fx-topup-amount-field input::-webkit-inner-spin-button,.fx-topup-amount-field input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.fx-topup-hint{margin:9px 0 18px;font-size:11px;color:#8b8b8b;line-height:1.5}
.fx-topup-preset-heading{color:#757575;font-size:12px;font-weight:500;margin-bottom:10px}
.fx-topup-preset-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:19px}
.fx-topup-preset-list>button{height:43px;min-width:0;background:#fff;color:#242424;border:1px solid #e1e1e5;border-radius:9px;font-size:13px;font-weight:700;transition:background .17s,border-color .17s,transform .17s,box-shadow .17s}
.fx-topup-preset-list>button:hover{border-color:#ec6c72;transform:translateY(-1px)}
.fx-topup-preset-list>button.selected{background:#e5212b;color:#fff;border-color:#e5212b;box-shadow:0 5px 12px rgba(229,33,43,.16)}
.fx-topup-info{display:flex;align-items:center;gap:10px;min-height:43px;padding:10px 13px;margin-bottom:18px;border:1px dashed #e3e3e6;border-radius:9px;background:#fafafa;color:#8a8a8a;font-size:11px;line-height:1.6}
.fx-topup-info svg{flex:none;width:13px;height:13px;color:#d82e36}
.fx-topup-status{display:grid;gap:10px;margin-bottom:13px;border:1px solid #ffccd0;border-radius:10px;padding:10px 12px;background:#fff8f8;color:#a91e29;font-size:11px}
.fx-topup-status[hidden]{display:none!important}
.fx-topup-status button{justify-self:start;border:1px solid #e8a5a9;border-radius:7px;background:#fff;padding:7px 10px;color:#b2222b;font-weight:700}
.fx-topup-primary,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-next-step.fx-topup-primary,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-submit-payment.fx-topup-primary{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
  width:100%!important;min-height:47px!important;padding:10px 16px!important;
  background:#e4252e!important;color:#fff!important;border:1px solid #e4252e!important;
  border-radius:8px!important;box-shadow:0 5px 12px rgba(230,29,39,.11)!important;
  font-size:13px!important;font-weight:800!important;line-height:1.4!important;
  transition:background .18s,box-shadow .18s,transform .18s!important;
}
.fx-topup-primary svg{width:16px;height:16px}
.fx-topup-primary:hover:not(:disabled){background:#cf1a25!important;box-shadow:0 7px 18px rgba(224,29,41,.22)!important;transform:translateY(-1px)!important}
.fx-topup-primary:active:not(:disabled){transform:translateY(0)!important}
.fx-topup-primary:disabled{opacity:.48!important;cursor:not-allowed!important}
/* PromptPay QR confirmation dialog */
.fx-topup-backdrop .fx-topup-qr-dialog{width:min(520px,100%)!important;max-width:520px!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-wizard{padding:0!important;background:#fff!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-stage,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-qr-section,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-slip-form.wallet-payment-slip-section{
  background:#fff!important;border:0!important;padding:6px 27px 27px!important;display:block;
  color:#171717!important;
}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-stage[hidden]{display:none!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-stage.is-active{animation:fxTopupPanelIn .3s ease both}
.fx-topup-payment-amount{text-align:center;background:#fff8f8;border:1px solid #ffcfd2;border-radius:13px;padding:12px 20px 14px;margin:0 0 17px}
.fx-topup-payment-amount small{display:block;margin:0 0 2px;font-size:12px;color:#9a8c8d}
.fx-topup-payment-amount strong{display:block;font-size:24px;color:#e4222c;line-height:1.2;font-weight:800}
.fx-topup-qr-wrap{display:grid;place-items:center}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-qr-stage{
  display:grid!important;place-items:center!important;width:min(276px,100%)!important;
  min-height:276px!important;max-height:none!important;padding:18px!important;
  background:#fff!important;border:1px solid #e5e5e8!important;border-radius:17px!important;box-shadow:0 1px 3px #00000009!important;
}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-qr-paper{display:grid!important;place-items:center!important;padding:0!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.fx-topup-backdrop .fx-v89-payment-dialog #wallet-promptpay-qr{display:block!important;width:238px!important;height:238px!important;max-width:100%!important;object-fit:contain!important;image-rendering:auto}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-qr-download.fx-topup-secondary{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;min-height:37px!important;height:auto!important;min-width:175px!important;margin:15px auto 12px!important;padding:9px 15px!important;color:#303030!important;font-size:12px!important;font-weight:650!important;background:#fff!important;border:1px solid #e0e0e4!important;border-radius:8px!important;box-shadow:0 2px 4px rgba(0,0,0,.04)!important;transition:border-color .18s,transform .18s!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-qr-download:hover{border-color:#e9a1a5!important;transform:translateY(-1px)}
.fx-topup-qr-caution{font-size:11px;color:#d62a33;line-height:1.5;text-align:center;margin:0 0 10px}
.fx-topup-clock{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:#8c8c8c;line-height:1.5;margin:0 0 15px}
.fx-topup-clock b{font-variant-numeric:tabular-nums;color:#d9232e;font-weight:800;font-size:13px}
.fx-topup-clock-dot{display:block;width:9px;height:9px;border-radius:50%;border:2px solid #f2a7ab;border-top-color:#e3222f;animation:fxTopupSpin 1.1s linear infinite}
.fx-topup-bottom-actions{display:grid;gap:10px}
.fx-topup-link{width:100%;font-size:12px!important;line-height:1.5;padding:7px 12px;color:#848484!important;background:transparent!important;border:0!important;transition:color .18s}
.fx-topup-link:hover{color:#e02b34!important}
.fx-topup-receipt-amount{margin-bottom:13px}
.fx-topup-slip-intro{font-size:12px;color:#777;text-align:center;line-height:1.65;margin:0 0 15px}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-slip-form.wallet-payment-slip-section .wallet-upload-zone.fx-topup-upload{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:8px!important;padding:20px!important;margin:0 0 15px!important;min-height:185px!important;
  background:#fff!important;border:1px dashed #efb7bd!important;border-radius:14px!important;
  color:#242424!important;cursor:pointer!important;transition:border-color .2s,background .2s,transform .2s!important;
}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-slip-form .wallet-upload-zone:hover{border-color:#e4252e!important;background:#fff9fa!important;transform:translateY(-1px)}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-upload-graphic{width:48px!important;height:48px!important;display:grid!important;place-items:center!important;border-radius:15px!important;color:#e32630!important;background:#ffedef!important;border:0!important;box-shadow:none!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-upload-graphic svg{width:22px;height:22px}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-upload-zone strong{font-size:13px!important;line-height:1.5!important;color:#1b1b1b!important;max-width:100%!important;overflow-wrap:anywhere}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-upload-zone small{font-size:11px!important;line-height:1.4!important;color:#9a9a9a!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-upload-browse{display:inline-flex!important;align-items:center!important;gap:7px!important;border-radius:8px!important;background:#fff1f2!important;color:#da242f!important;font-size:12px!important;padding:9px 14px!important;margin-top:3px!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-upload-zone.has-file{background:#fff9f9!important;border-color:#e6454f!important}
.fx-topup-backdrop .fx-v89-payment-dialog #wallet-slip-preview{max-height:155px;width:auto;max-width:100%;object-fit:contain;border-radius:9px;border:1px solid #eee;margin:3px auto}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-verify-footnote{font-size:11px!important;color:#909090!important;text-align:center!important;margin:9px 0 0!important;line-height:1.6!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-expired-message{margin:15px 0 0!important;border:1px solid #ffc6ca!important;border-radius:12px!important;background:#fff6f6!important;color:#9b1e28!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-expired-message span{color:#ba434b!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-qr-expired .wallet-payment-qr-stage{filter:grayscale(1)}
@keyframes fxTopupPop{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes fxTopupPanelIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes fxTopupSpin{to{transform:rotate(360deg)}}
@media (max-width:600px){
 .fx-topup-backdrop{padding:10px!important;align-items:center!important}
 .fx-topup-backdrop .fx-topup-dialog,.fx-topup-backdrop .wallet-modal.wallet-payment-dialog.fx-v89-payment-dialog.fx-topup-dialog{max-height:calc(100dvh - 20px)!important;width:100%!important;max-width:516px!important;border-radius:14px!important}
 .fx-topup-dialog .fx-topup-header,.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-title.fx-topup-header{min-height:66px!important;padding:18px 20px 11px!important}
 .fx-topup-dialog .fx-topup-header h2,.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-title h2{font-size:17px!important}
 .fx-topup-content{padding:3px 20px 23px}
 .fx-topup-balance{margin-bottom:18px}
 .fx-topup-preset-list{gap:6px}
 .fx-topup-preset-list button{height:42px;font-size:12px}
 .fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-stage,.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-qr-section,.fx-topup-backdrop .fx-v89-payment-dialog .wallet-slip-form.wallet-payment-slip-section{padding:4px 20px 21px!important}
 .fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-qr-stage{width:min(250px,100%)!important;min-height:250px!important;padding:14px!important}
 .fx-topup-backdrop .fx-v89-payment-dialog #wallet-promptpay-qr{width:220px!important;height:220px!important}
 .fx-topup-payment-amount strong{font-size:22px}
}
@media (max-height:670px){.fx-topup-backdrop{align-items:flex-start!important}.fx-topup-backdrop .fx-topup-dialog{margin:auto!important}}
@media (prefers-reduced-motion:reduce){.fx-topup-dialog,.fx-topup-dialog *{animation:none!important;transition:none!important}}


/* FIX STORE V8.9.8 — Graphite payment dialogs, consistent with storefront dark/silver. */
.fx-topup-backdrop .fx-topup-dialog,
.fx-topup-backdrop .wallet-modal.wallet-payment-dialog.fx-v89-payment-dialog.fx-topup-dialog{
 color:#eef0f4!important;background:#14171b!important;border-color:#383e48!important;
 border-radius:19px!important;box-shadow:0 32px 85px rgba(0,0,0,.64),inset 0 1px rgba(255,255,255,.055)!important;
 color-scheme:dark!important;
}
.fx-topup-dialog .fx-topup-header,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-title.fx-topup-header{
 background:#14171b!important;border-bottom:1px solid #2b3139!important;
}
.fx-topup-dialog .fx-topup-header h2,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-title h2{color:#f5f6f8!important}
.fx-topup-dialog .fx-topup-close,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-close.fx-topup-close{
 color:#b9c2ce!important;background:#1d222a!important;border-color:#424b58!important;border-radius:9px!important;
}
.fx-topup-dialog .fx-topup-close:hover,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-close.fx-topup-close:hover{color:#fff!important;background:#2d3540!important;border-color:#7b8797!important}
.fx-topup-dialog :is(button,input):focus-visible{outline:2px solid #d9e1ec!important;outline-offset:2px!important}
.fx-topup-content,.fx-topup-amount-form{color:#e7ebf0!important}
.fx-topup-balance{background:linear-gradient(130deg,#222832,#1b2027)!important;border-color:#3b434f!important;border-radius:14px!important}
.fx-topup-balance-icon{color:#e9edf4!important;background:#333c48!important}
.fx-topup-balance small,.fx-topup-hint,.fx-topup-preset-heading{color:#9ea9b7!important}
.fx-topup-balance strong{color:#f5f7fa!important}
.fx-topup-amount-form>label{color:#eff1f4!important}
.fx-topup-amount-field{background:#101419!important;border-color:#404852!important;box-shadow:none!important;border-radius:11px!important}
.fx-topup-amount-field:focus-within{border-color:#bdc7d4!important;box-shadow:0 0 0 3px #b7c6d419!important}
.fx-topup-amount-field>span{color:#a1acb8!important}
.fx-topup-amount-field input{color:#eff2f7!important}
.fx-topup-preset-list>button{background:#1d2229!important;color:#dce1e8!important;border-color:#3c444f!important;border-radius:11px!important}
.fx-topup-preset-list>button:hover{background:#29303a!important;border-color:#7f8b9a!important}
.fx-topup-preset-list>button.selected{color:#15191e!important;background:#e8ebf1!important;border-color:#e8ebf1!important;box-shadow:0 9px 22px #0004!important}
.fx-topup-info{background:#1b2027!important;border-color:#3d4550!important;color:#a6b0bc!important;border-radius:11px!important}
.fx-topup-info svg{color:#c9d2dc!important}
.fx-topup-status{background:#35242a!important;border-color:#67414b!important;color:#ffccd2!important}
.fx-topup-status button{background:#30252b!important;color:#ffdadf!important;border-color:#80505c!important}
.fx-topup-dialog .fx-topup-primary,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-next-step.fx-topup-primary,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-submit-payment.fx-topup-primary{
 background:linear-gradient(125deg,#f5f6f8,#d0d5dd)!important;color:#161a21!important;border-color:#f3f4f7!important;
 border-radius:11px!important;box-shadow:inset 0 1px #fff,0 8px 25px #0004!important;
}
.fx-topup-dialog .fx-topup-primary:hover:not(:disabled),
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-next-step.fx-topup-primary:hover:not(:disabled),
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-submit-payment.fx-topup-primary:hover:not(:disabled){
 background:#fff!important;box-shadow:0 9px 26px #0006!important;
}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-wizard{background:#14171b!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-stage,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-qr-section,
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-slip-form.wallet-payment-slip-section{background:#14171b!important;color:#ecf0f5!important}
.fx-topup-payment-amount{background:linear-gradient(125deg,#222832,#1b2028)!important;border-color:#414a56!important}
.fx-topup-payment-amount small{color:#a6b0bc!important}
.fx-topup-payment-amount strong{color:#f5f7fa!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-qr-stage{background:#fff!important;border-color:#454b56!important;box-shadow:0 7px 30px #0004!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-qr-download.fx-topup-secondary{color:#e3e7ed!important;background:#242a33!important;border-color:#4c5663!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-qr-download:hover{background:#303743!important;border-color:#7d8998!important}
.fx-topup-qr-caution{color:#b1bac5!important}
.fx-topup-clock{color:#adb8c6!important}
.fx-topup-clock b{color:#f3f6fa!important}
.fx-topup-clock-dot{border-color:#aab5c4!important;border-top-color:#f1f4f8!important}
.fx-topup-link{color:#acb5c1!important}
.fx-topup-link:hover{color:#f9fafb!important}
.fx-topup-slip-intro{color:#a6b0bd!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-slip-form.wallet-payment-slip-section .wallet-upload-zone.fx-topup-upload{
 background:#1b2028!important;border-color:#535e6c!important;color:#e6ebf1!important
}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-slip-form .wallet-upload-zone:hover{background:#252c36!important;border-color:#a7b2c0!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-upload-graphic{background:#313a45!important;color:#e8edf4!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-upload-zone strong{color:#f4f6f9!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-upload-zone small{color:#9aa8b8!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-upload-browse{background:#333c47!important;color:#f1f3f7!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-upload-zone.has-file{background:#202e2b!important;border-color:#729786!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-payment-verify-footnote{color:#9ca6b3!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-expired-message{color:#ffd9df!important;background:#332329!important;border-color:#71404b!important}
.fx-topup-backdrop .fx-v89-payment-dialog .wallet-expired-message span{color:#f0abb5!important}

/* Keep ORIGINAL FIX STORE toast appearance while reading it over payment modal. */
#toast-area.toast-area{z-index:10020!important}
#toast-area.toast-area.fx-topup-toast-active{top:16px!important;right:18px!important;bottom:auto!important;left:auto!important;max-height:calc(100dvh - 26px);overflow:visible}
@media(max-width:680px){#toast-area.toast-area.fx-topup-toast-active{top:calc(10px + env(safe-area-inset-top,0px))!important;left:12px!important;right:12px!important;width:auto!important;bottom:auto!important}}

/* V8.9.9 — Compact payment methods; original FIX STORE graphite palette */
.fx-v899-wallet-page{max-width:870px;margin:26px auto 60px;padding:0 16px}
.fx-v899-wallet-heading{text-align:center;margin:0 0 22px}
.fx-v899-wallet-heading>span{display:block;color:#8f9aa8;letter-spacing:.16em;font-size:10px;font-weight:800;margin-bottom:8px}
.fx-v899-wallet-heading h1{color:#f6f7fa;font-size:clamp(25px,3vw,33px);font-weight:850;line-height:1.25;letter-spacing:-.025em;margin:0 0 7px}
.fx-v899-wallet-heading p{color:#99a4b2;font-size:12px;margin:0;line-height:1.6}
.fx-v899-wallet-summary{max-width:800px;margin:0 auto 18px}
.fx-v899-wallet-summary>.fx-wallet-balance{padding:16px 22px!important;border:1px solid #353b45!important;border-radius:15px!important;background:#171b21!important;box-shadow:none!important}
.fx-v899-wallet-summary .fx-wallet-balance-value{font-size:25px!important}
.fx-v899-method-list{display:grid;gap:12px;max-width:800px;margin:auto}
.fx-v899-method{display:flex;align-items:center;text-align:left;gap:17px;min-height:109px;padding:16px 19px;width:100%;text-decoration:none;background:linear-gradient(120deg,#191d24,#11151b);border:1px solid #323842;border-radius:15px;color:#f1f3f6;font-family:inherit;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;box-shadow:inset 0 1px rgba(255,255,255,.03)}
.fx-v899-method:hover{background:#1d232b;border-color:#737d8a;transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.24)}
.fx-v899-method:focus-visible{outline:2px solid #e5ebf5;outline-offset:3px}
.fx-v899-method-icon{width:61px;height:61px;display:grid;place-items:center;border-radius:14px;flex-shrink:0;color:#f2f5f9;background:#252d39;border:1px solid #3e4755}
.fx-v899-method-icon svg{width:31px;height:31px}
.fx-v899-method-icon.qr{background:#21374d;border-color:#3a5572;color:#d1e9ff}
.fx-v899-method-icon.code{background:#333042;border-color:#4d4963;color:#ddd3ff}
.fx-v899-method-copy{display:grid;gap:6px;flex:1;min-width:0}
.fx-v899-method-copy>strong{font-size:16px;color:#f5f6f9;font-weight:800;line-height:1.4}
.fx-v899-method-copy>small{font-size:12px;color:#9ba6b5;line-height:1.55}
.fx-v899-method-badge{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:11px;white-space:nowrap;flex:none;padding:8px 10px;border-radius:9px;font-weight:750;background:#283039;color:#b8c2ce;border:1px solid #3c4551}
.fx-v899-method-badge svg{width:13px;height:13px}
.fx-v899-method-badge.ready{background:#27332d;color:#b7e9c4;border-color:#3b5442}
.fx-v899-method-badge.pending{background:#2b3138;color:#c5ccd5}
.fx-v899-method-chevron{color:#b4becb;flex-shrink:0}.fx-v899-method-chevron svg{width:18px;height:18px}
.fx-v899-method-footnote{margin:20px 0 0;text-align:center;font-size:11px;color:#8a94a1}
.fx-v899-inline-amount{display:flex;align-items:center;gap:0;height:55px;border-radius:13px;border:1px solid #3a4350;overflow:hidden;background:#101419}
.fx-v899-inline-amount>span{display:grid;place-items:center;width:44px;height:100%;border-right:1px solid #303844;color:#adb6c4;background:#1c2129;font-weight:800}
.fx-v899-inline-amount>.input{flex:1;min-width:0;width:100%;height:100%!important;border:0!important;outline:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0 14px!important;font-size:19px}
.fx-v899-inline-amount:focus-within{border-color:#dbe5f1;box-shadow:0 0 0 3px #e3ecf119}
.fx-v899-inline-amount>.input:focus{outline:0!important;box-shadow:none!important;border:0!important}
@media(max-width:650px){
 .fx-v899-wallet-page{margin:17px auto 45px;padding:0 10px}
 .fx-v899-method{padding:14px 13px;gap:12px;min-height:92px;border-radius:13px}
 .fx-v899-method-icon{width:49px;height:49px;border-radius:11px}.fx-v899-method-icon svg{width:26px;height:26px}
 .fx-v899-method-copy>strong{font-size:13px}.fx-v899-method-copy>small{font-size:10px}
 .fx-v899-method-badge{font-size:9px;padding:6px 7px;max-width:101px;text-align:center;white-space:normal}
 .fx-v899-method-chevron{display:none}
}
@media(max-width:395px){.fx-v899-method{gap:9px;padding:12px 9px}.fx-v899-method-icon{width:42px;height:42px}.fx-v899-method-copy>strong{font-size:12px}.fx-v899-method-badge{font-size:8px;max-width:82px}}
@media(prefers-reduced-motion:reduce){.fx-v899-method{transition:none}.fx-v899-method:hover{transform:none}}

/* FIX STORE V8.9.12 — precise hover clipping and editorial sold-out ribbon
   Uses image-local effects only. The older V7.3 article sweep was allowed to
   travel outside the borderless catalog card; disable it and move sheen into
   the image frame where it is clipped. */
.fx-v89-product.product-card.product-polished::before,
.fx-v89-product.product-card.product-polished:hover::before,
.fx-v89-product.product-card.product-polished:focus-within::before{
    content:none!important;display:none!important;opacity:0!important;transform:none!important;
}
.fx-v89-product.product-card,
.fx-v89-product.product-card:hover,
.fx-v89-product.product-card:focus-within{
    transform:none!important;
    box-shadow:none!important;
    overflow:visible!important;
}
.fx-v89-product.product-card .portrait-image-frame{
    position:relative!important;
    width:100%!important;
    margin:0!important;
    border-radius:15px!important;
    border:1px solid #343b46!important;
    background:#14171e!important;
    overflow:hidden!important;
    isolation:isolate;
    box-shadow:inset 0 1px 0 #ffffff0a,0 3px 14px #00000024!important;
    transform:none!important;
    transition:border-color .28s ease,box-shadow .28s ease!important;
}
.fx-v89-product.product-card .portrait-image-frame:where(:hover,:focus-within){
    border-color:#8d97a7!important;
    box-shadow:inset 0 0 0 1px #e8edf116,0 0 0 2px #c1cada12,0 14px 31px #0008!important;
    transform:none!important;
}
/* Keep the highlight within exactly the image boundary. */
.fx-v89-product.product-card .portrait-image-frame::after{
    content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
    border-radius:inherit;
    background:linear-gradient(112deg,transparent 20%,#ffffff0a 45%,#ffffff18 50%,#ffffff03 56%,transparent 80%);
    transform:translate3d(-110%,0,0);opacity:0;
    transition:transform .8s cubic-bezier(.19,.78,.2,1),opacity .25s ease;
}
@media(hover:hover){
    .fx-v89-product.product-card .portrait-image-frame:hover::after{opacity:.78;transform:translate3d(110%,0,0)}
    .fx-v89-product.product-card .portrait-image-frame:hover .product-art>img{transform:scale(1.018)!important}
}
.fx-v89-product.product-card .product-image-link,
.fx-v89-product.product-card .product-art{
    position:relative;display:block;width:100%;max-width:100%;
    overflow:hidden!important;border-radius:14px!important;
}
.fx-v89-product.product-card .product-art>img{
    width:100%;height:100%;object-fit:contain!important;
    transform:scale(1)!important;
    transition:transform .48s cubic-bezier(.2,.77,.2,1)!important;
}
.fx-v89-product.product-card .fx-v89-product-badge{z-index:5;}
.fx-v89-product.product-card.product-soldout .product-art>img,
.fx-v89-product.product-card.product-soldout:hover .product-art>img{
    filter:grayscale(.43) brightness(.78)!important;
}
.fx-v89-product.product-card.product-soldout .portrait-image-frame:hover{
    border-color:#717b89!important;
}
/* The image itself defines the containing box, not the grid/article. */
.fx-v89-product.product-card .product-art .soldout-veil{
    position:absolute!important;inset:0!important;z-index:4!important;
    display:block!important;width:100%!important;height:100%!important;
    overflow:hidden!important;border-radius:inherit!important;
    background:linear-gradient(180deg,#090b1110,#090b1126)!important;
    pointer-events:none!important;
}
/* Silver satin band, dashed borders, restrained texture. */
.soldout-lux-ribbon{
    position:absolute;top:50%;left:-15%;width:130%;
    transform:translateY(-50%) rotate(-8deg);
    display:grid;place-items:center;min-height:85px;padding:13px 22px;
    background:linear-gradient(90deg,#07090cb8 0%,#121720dc 20%,#323a47e8 50%,#121720dc 80%,#07090cb8 100%);
    backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
    border-top:1px dashed #e6eaf38a;border-bottom:1px dashed #e6eaf38a;
    box-shadow:0 9px 25px #0000006b,inset 0 1px 0 #ffffff21,inset 0 -1px 0 #ffffff16;
    overflow:hidden;
}
.soldout-lux-ribbon::before,.soldout-lux-ribbon::after{
    content:"";position:absolute;left:0;right:0;height:1px;pointer-events:none;
    background:linear-gradient(90deg,transparent,#d1d6df42 22%,#e2e8f07c 50%,#d1d6df42 78%,transparent);
}
.soldout-lux-ribbon::before{top:6px}.soldout-lux-ribbon::after{bottom:6px}
.soldout-lux-ribbon-inner{
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
    position:relative;z-index:1;transform:rotate(8deg);text-align:center;
}
.soldout-lux-overline{
    font:750 9px/1 var(--latin,Arial,sans-serif)!important;
    letter-spacing:.24em;color:#d6dce7;text-shadow:0 1px 5px #000b;
    white-space:nowrap;
}
.soldout-lux-ribbon .soldout-label,
.product-polished.product-soldout .soldout-lux-ribbon .soldout-label,
.product-detail-v73 .detail-visual .soldout-lux-ribbon .soldout-label{
    position:relative;display:inline-flex;align-items:center;justify-content:center;
    gap:8px;min-width:107px;padding:6px 17px!important;
    border-radius:999px!important;border:1px solid #d4dceba1!important;
    background:linear-gradient(180deg,#e8ebf4e8,#929cabdb)!important;
    box-shadow:0 3px 14px #0009,inset 0 1px 0 #ffffff72!important;
    color:#10141c!important;font:850 12px/1.35 var(--font,system-ui)!important;
    letter-spacing:0!important;text-shadow:none!important;
}
.soldout-lux-ribbon .soldout-label::before,
.soldout-lux-ribbon .soldout-label::after{content:"✦";font-size:8px;color:#4f5a6b;opacity:.8}
/* No duplicate status text beside price or below the image. */
.fx-v89-product.product-soldout .fx-v89-product-availability.is-out{display:none!important}
.fx-v89-product.product-soldout .fx-v89-unavailable-icon{
    display:grid;place-items:center;width:28px;height:28px;
    border:1px solid #313843;border-radius:9px;
    color:#8e96a4;background:#181d24;
}
.fx-v89-product.product-soldout .fx-v89-unavailable-icon svg{width:14px;height:14px}
/* Detail product art is larger but uses the same restrained badge. */
.product-detail-v73 .detail-visual .soldout-veil{overflow:hidden!important}
.product-detail-v73 .detail-visual .soldout-lux-ribbon{min-height:106px;padding:19px 28px}
.product-detail-v73 .detail-visual .soldout-lux-ribbon .soldout-label{font-size:15px!important;padding:8px 21px!important}
@media(max-width:700px){
    .soldout-lux-ribbon{min-height:70px;padding:9px 16px}
    .soldout-lux-ribbon-inner{gap:5px}
    .soldout-lux-overline{font-size:8px!important;letter-spacing:.18em}
    .soldout-lux-ribbon .soldout-label,
    .product-polished.product-soldout .soldout-lux-ribbon .soldout-label{font-size:10px!important;min-width:88px;padding:5px 11px!important}
    .soldout-lux-ribbon .soldout-label::before,
    .soldout-lux-ribbon .soldout-label::after{font-size:6px}
}
@media(prefers-reduced-motion:reduce){
    .fx-v89-product.product-card .portrait-image-frame::after{transition:none!important;transform:none!important;opacity:0!important}
    .fx-v89-product.product-card .product-art>img{transition:none!important;transform:none!important}
}


/* FIX STORE V8.9.13 — Category banners use the homepage banner frame.
   The uploaded cover is fully visible: no cropped object-fit:cover or 190px height cap. */
.fx-v89-shop .catalog-category-cover {
  box-sizing: border-box;
  display: block;
  position: relative;
  /* Break out of the catalog's 1180px cap to match the homepage banner width. */
  width: min(1276px, calc(100vw - 72px));
  max-width: none;
  left: 50%;
  transform: translateX(-50%);
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 2048 / 682;
  margin: 17px 0 24px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #42464c;
  border-radius: 18px;
  background: #15161a;
  box-shadow: 0 15px 50px #0007;
  line-height: 0;
}
.fx-v89-shop .catalog-category-cover img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  border: 0;
  padding: 0;
  margin: 0;
  transform: none;
}
@media (max-width: 760px) {
  .fx-v89-shop .catalog-category-cover {
    width: calc(100vw - 30px);
  }
}
@media (max-width: 700px) {
  .fx-v89-shop .catalog-category-cover {
    /* Home banner expands from shell width to nearly edge-to-edge on mobile. */
    width: 100vw;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: 0 12px 38px #0009;
  }
}


/* FIX STORE V8.9.17 — Category banner fills the frame cleanly.
   Keep the compact banner size from V8.9.14, but make the artwork cover the whole frame. */
.fx-v89-shop .catalog-category-cover {
  width: min(1020px, calc(100vw - 64px));
  aspect-ratio: 2048 / 682;
  height: auto !important;
  max-height: none !important;
  border-radius: 15px;
  margin-top: 15px;
  margin-bottom: 21px;
  display:block;
  overflow:hidden;
  background:#0f1115;
}
.fx-v89-shop .catalog-category-cover img {
  display:block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 760px) {
  .fx-v89-shop .catalog-category-cover {
    width: calc(100vw - 40px);
    border-radius: 13px;
  }
}
@media (max-width: 700px) {
  .fx-v89-shop .catalog-category-cover {
    width: calc(100vw - 36px);
    border: 1px solid #42464c;
    border-radius: 12px;
    box-shadow: 0 12px 30px #0007;
  }
}


/* V8.9.15 — focused product stock display, no delivery-mode promotional copy */
.product-detail-v73 .product-stock-status-v8915{
 display:flex;align-items:center;gap:13px;min-width:0;margin:25px 0 23px;padding:14px 15px;
 border:1px solid #3b4641;border-radius:13px;
 background:linear-gradient(115deg,rgba(29,41,35,.76),rgba(20,24,26,.92));
 box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.product-stock-status-v8915 .product-stock-status-mark{
 display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:10px;
 background:rgba(96,148,116,.1);border:1px solid rgba(130,171,145,.23);
}
.product-stock-status-v8915 .product-stock-status-mark>span{
 display:block;width:9px;height:9px;border-radius:50%;background:#8ed0a5;
 box-shadow:0 0 0 4px rgba(142,208,165,.10),0 0 15px rgba(114,195,144,.24);
}
.product-stock-status-v8915 .product-stock-status-copy{display:grid;min-width:0;gap:3px}
.product-stock-status-v8915 .product-stock-status-copy small{font-size:10px;letter-spacing:.015em;font-weight:550;color:#9ca9a2}
.product-stock-status-v8915 .product-stock-status-copy strong{font-size:13px;line-height:1.35;letter-spacing:-.01em;font-weight:800;color:#d4efdd}
.product-stock-status-v8915 .product-stock-status-count{
 flex:none;margin-left:auto;white-space:nowrap;padding:7px 9px;border:1px solid rgba(144,176,155,.19);
 border-radius:7px;color:#b6c8bc;background:rgba(205,227,214,.055);font-size:10px;font-weight:650;
}
.product-stock-status-v8915.is-unavailable{
 border-color:#4b3b3c;background:linear-gradient(115deg,rgba(52,33,35,.76),rgba(23,22,25,.92));
}
.product-stock-status-v8915.is-unavailable .product-stock-status-mark{background:rgba(173,98,102,.09);border-color:rgba(183,116,121,.18)}
.product-stock-status-v8915.is-unavailable .product-stock-status-mark>span{
 background:#cc858d;box-shadow:0 0 0 4px rgba(204,133,141,.09);
}
.product-stock-status-v8915.is-unavailable .product-stock-status-copy small{color:#aa9396}
.product-stock-status-v8915.is-unavailable .product-stock-status-copy strong{color:#e1b3b8}
@media(max-width:760px){
 .product-detail-v73 .product-stock-status-v8915{margin:19px 0 18px;gap:11px;padding:12px 13px}
 .product-stock-status-v8915 .product-stock-status-mark{width:32px;height:32px}
}
@media(max-width:380px){
 .product-stock-status-v8915 .product-stock-status-count{font-size:9px;padding:5px 6px}
}


/* V8.9.16 — compact product availability. Retain original stock logic. */
.product-detail-v73 .product-availability-mini{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;
  gap:9px 12px;width:fit-content;max-width:100%;margin:17px 0 22px;
  padding:0;border:0;background:transparent;box-shadow:none;
}
.product-detail-v73 .product-availability-mini-label{
  display:inline-flex;align-items:center;gap:8px;min-height:31px;
  padding:6px 12px 6px 10px;border:1px solid rgba(125,173,145,.25);
  border-radius:999px;background:rgba(37,56,46,.42);
  color:#bee5cb;font-size:11px;line-height:1.3;font-weight:750;
  white-space:nowrap;
}
.product-detail-v73 .product-availability-mini-label i{
  display:block;flex:none;width:7px;height:7px;border-radius:50%;
  background:#8ccaa2;box-shadow:0 0 0 3px rgba(140,202,162,.09);
}
.product-detail-v73 .product-availability-mini-count{
  font-size:11px;line-height:1.4;font-weight:600;color:#8d9b95;white-space:nowrap;
}
.product-detail-v73 .product-availability-mini.is-unavailable .product-availability-mini-label{
  border-color:rgba(189,128,137,.29);background:rgba(75,39,45,.38);color:#e1adb6;
}
.product-detail-v73 .product-availability-mini.is-unavailable .product-availability-mini-label i{
  background:#cb8b96;box-shadow:0 0 0 3px rgba(203,139,150,.09);
}
@media(max-width:760px){
  .product-detail-v73 .product-availability-mini{margin:15px 0 18px;gap:8px 10px}
  .product-detail-v73 .product-availability-mini-label{min-height:30px;padding:6px 11px 6px 9px;font-size:11px}
}


/* FIX STORE V8.9.19 — Make catalog banner fill the full content frame */
.fx-v89-shop .catalog-category-cover{
  width:100% !important;
  max-width:none !important;
  left:auto !important;
  transform:none !important;
  margin:15px 0 22px !important;
}
.fx-v89-shop .catalog-category-cover img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
}
@media (max-width: 700px){
  .fx-v89-shop .catalog-category-cover{
    width:100% !important;
    border-radius:12px !important;
  }
}


/* FIX STORE V8.9.22 — Unified account dropdown for desktop, tablet and mobile */
 .site-header .contact-link,
 .site-header .login-shortcut,
 .site-header #account-link,
 .site-header .register-shortcut{display:none!important}
 .site-header .header-actions{gap:8px!important;margin-left:auto}
 .site-header .fx-mobile-menu-toggle{display:grid!important;place-items:center;flex:none;min-width:40px!important;width:40px!important;height:40px!important;border-radius:11px!important;border:1px solid #41454d!important;background:#1a1c20!important;color:#f3f3f5!important;transition:background .2s,border-color .2s,transform .2s}
 .site-header .fx-mobile-menu-toggle:hover,.site-header .fx-mobile-menu-toggle[aria-expanded=true]{background:#292c31!important;border-color:#777d87!important}
 .site-header .fx-mobile-menu-toggle:focus-visible{outline:2px solid #e2e4e8;outline-offset:2px}
 .fx-mobile-menu-cross{display:none}
 .fx-mobile-menu-toggle[aria-expanded=true] .fx-mobile-menu-lines{display:none}
 .fx-mobile-menu-toggle[aria-expanded=true] .fx-mobile-menu-cross{display:block}
 .site-header #mobile-nav.fx-mobile-account-dropdown:not([hidden]){
  box-sizing:border-box!important;display:block!important;position:absolute!important;
  left:auto!important;right:12px!important;top:calc(100% - 2px)!important;
  width:min(350px,calc(100vw - 24px))!important;max-height:min(76dvh,570px)!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  padding:8px!important;border:1px solid #383b42!important;
  border-radius:18px!important;background:#111316!important;color:#eef0f2!important;
  box-shadow:0 22px 60px #000b,0 3px 12px #0008!important;
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
  transform-origin:top right;animation:fxMobileMenuDrop .24s cubic-bezier(.16,1,.3,1) both;
  scrollbar-width:thin;z-index:70!important;
 }
 /* Keep the menu in the same neutral palette as product cards and header. */
 .site-header #mobile-nav.fx-mobile-account-dropdown:not([hidden]){
  background:linear-gradient(160deg,#16181c 0%,#101113 75%)!important;
  border-color:#3a3d43!important;
  box-shadow:0 25px 64px rgba(0,0,0,.70),inset 0 1px rgba(255,255,255,.045)!important;
 }
 .fx-mobile-menu-profile{display:flex;align-items:center;gap:11px;padding:15px 10px 14px}
 .fx-mobile-menu-avatar{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#eeeff1,#9a9ea7);color:#16181d;display:grid;place-items:center;font:800 19px/1 'Outfit',system-ui,sans-serif;border:1px solid #f7f8fc52;flex:none}
 .fx-mobile-menu-identity{min-width:0;flex:1;display:grid;gap:3px}
 .fx-mobile-menu-identity strong{font-size:13px;line-height:1.35;font-weight:800;color:#f8f8fa;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .fx-mobile-menu-identity small{font-size:10px;color:#9197a1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .fx-mobile-menu-role{display:inline-flex;align-items:center;justify-content:center;flex:none;border-radius:7px;background:#26272d;border:1px solid #50535e;color:#d4d5dc;padding:5px 7px;font:750 9px/1 'Outfit',system-ui,sans-serif;letter-spacing:.03em}
 .fx-mobile-menu-balance{margin:0 9px 11px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #34373d;border-radius:10px;background:#1b1d21;padding:10px 13px}
 .fx-mobile-menu-balance[hidden]{display:none!important}
 .fx-mobile-menu-balance span{font-size:11px;color:#9ba0a8}
 .fx-mobile-menu-balance strong{font:800 13px/1 'Outfit',system-ui,sans-serif;color:#f2f3f5}
 .fx-mobile-menu-links{border-top:1px solid #31343a;padding:6px 3px}
 .site-header .fx-mobile-account-dropdown .fx-mobile-menu-links>a{display:flex!important;align-items:center;gap:12px;padding:11px 10px!important;min-height:41px;font-size:12px!important;font-weight:650!important;color:#d4d6db!important;border-radius:10px!important;transition:color .16s,background .16s}
 .site-header .fx-mobile-account-dropdown .fx-mobile-menu-links>a[hidden]{display:none!important}
 .site-header .fx-mobile-account-dropdown .fx-mobile-menu-links>a:hover,.site-header .fx-mobile-account-dropdown .fx-mobile-menu-links>a:focus-visible{background:#282b30!important;color:#fff!important}
 .fx-mobile-menu-row-icon{flex:none;width:23px;height:23px;display:grid;place-items:center;color:#9ea4af}
 .fx-mobile-menu-row-icon svg{width:17px;height:17px}
 .fx-mobile-menu-arrow{margin-left:auto;color:#868c95;font-size:18px;font-weight:400}
 .fx-mobile-menu-footer{border-top:1px solid #31343a;margin:0 3px 2px;padding:7px 0 0}
 .fx-mobile-menu-footer[hidden]{display:none!important}
 .fx-mobile-menu-logout{display:flex;width:100%;align-items:center;gap:12px;padding:11px 10px;border:0;border-radius:10px;background:transparent;color:#e3a6af;text-align:left;font:700 12px 'Anuphan',system-ui,sans-serif;cursor:pointer;transition:background .16s}
 .fx-mobile-menu-logout svg{width:17px;height:17px;flex:none}
 .fx-mobile-menu-logout:hover,.fx-mobile-menu-logout:focus-visible{background:#35252b;color:#ffe1e5}
@keyframes fxMobileMenuDrop{from{opacity:0;transform:translateY(-10px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.site-header #mobile-nav.fx-mobile-account-dropdown:not([hidden]){animation:none!important}}


/* Desktop and mobile share the same dropdown. Keep the familiar header navigation
   on desktop but prevent duplicate chat/profile buttons from taking up space. */
.site-header #mobile-nav.fx-mobile-account-dropdown[hidden]{display:none!important}
.site-header #mobile-nav.fx-mobile-account-dropdown:not([hidden]){right:max(12px,calc((100vw - 1276px)/2))!important}
.site-header .fx-mobile-menu-toggle .fx-mobile-menu-cross{display:none}
.site-header .fx-mobile-menu-toggle[aria-expanded="true"] .fx-mobile-menu-cross{display:block}
.site-header .fx-mobile-menu-toggle[aria-expanded="true"] .fx-mobile-menu-lines{display:none}
.site-header .header-actions{align-items:center}
@media (max-width:900px){
 .site-header #mobile-nav.fx-mobile-account-dropdown:not([hidden]){right:12px!important}
}
@media (max-width:460px){
 .site-header .header-actions{gap:6px!important}
 .site-header .fx-mobile-menu-toggle{width:40px!important;height:40px!important;min-width:40px!important}
 .site-header #mobile-nav.fx-mobile-account-dropdown:not([hidden]){right:9px!important;width:calc(100vw - 18px)!important}
}


/* FIX STORE V8.9.24 — Store-logo avatar and consistent menu arrows */
.site-header .fx-mobile-menu-avatar{
  width:48px;
  height:48px;
  flex:0 0 48px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:linear-gradient(145deg,#24272d,#111316);
  border:1px solid #3d424a;
  border-radius:13px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  color:transparent;
}
.site-header .fx-mobile-menu-avatar img{
  display:block;
  width:100%;
  height:100%;
  padding:2px;
  object-fit:contain;
  object-position:center;
}
.site-header .fx-mobile-account-dropdown .fx-mobile-menu-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  width:22px;
  height:22px;
  margin-left:auto;
  font-family:system-ui,sans-serif;
  font-size:20px;
  line-height:1;
  font-weight:400;
  color:#868c95;
}
.site-header .fx-mobile-account-dropdown .fx-mobile-menu-links>a:hover .fx-mobile-menu-arrow{color:#f0f2f5}
@media(max-width:460px){
 .site-header .fx-mobile-menu-avatar{width:44px;height:44px;flex-basis:44px}
}


/* FIX STORE V8.9.27 — Contact / Support Center redesign. Scoped styles. */
.contact27{max-width:1180px;margin:0 auto 64px;min-height:0;color:#edf0f4}
.contact27 *{box-sizing:border-box}
.contact27 .contact27-crumb{margin:8px 0 19px;font-size:11px;color:#818994}
.contact27-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.54fr);align-items:stretch;min-height:310px;background:linear-gradient(119deg,#1a1e24 0%,#12161b 52%,#0d1014 100%);border:1px solid #343943;border-radius:23px;isolation:isolate;overflow:hidden;box-shadow:0 24px 64px #0004}
.contact27-hero:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 1px 0 #ffffff0c;pointer-events:none;z-index:3}
.contact27-hero-copy{padding:clamp(27px,4.1vw,53px);position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.contact27-eyebrow,.contact27-kicker{font:750 10px/1.3 var(--latin,system-ui);letter-spacing:.16em;color:#939ca8}
.contact27-eyebrow{display:flex;align-items:center;gap:10px}
.contact27-eyebrow-line{width:21px;height:1px;background:#d4d9e0}
.contact27-hero-copy h1{font-size:clamp(36px,5vw,62px);letter-spacing:-.06em;line-height:1.1;margin:17px 0 17px;font-weight:800;color:#f5f6fa}
.contact27-hero-copy h1 span{display:inline-block;margin-left:.18em;color:#bbc2cd}
.contact27-hero-copy>p{max-width:540px;margin:0;color:#a9b1bd;font-size:13px;line-height:1.9}
.contact27-hero-foot{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:28px;color:#9da6b1;font-size:10px;letter-spacing:.015em}
.contact27-status-dot{display:block;flex:0 0 7px;width:7px;height:7px;border-radius:100%;background:#a6bbc8;box-shadow:0 0 0 4px #a7bfca15}
.contact27-hero-sep{height:11px;width:1px;background:#4a505a;margin:0 4px}
.contact27-hero-graphic{position:relative;overflow:hidden;display:grid;place-items:center;min-height:280px;background:radial-gradient(circle at 50% 50%,#42495435,transparent 63%)}
.contact27-hero-graphic:before{position:absolute;content:"";width:100%;height:100%;inset:0;border-left:1px solid #ffffff09;background:linear-gradient(125deg,#ffffff04,transparent 35%)}
.contact27-hero-orbit{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-22deg);border:1px solid #cdd2dd20;border-radius:50%;width:282px;height:282px}
.contact27-hero-orbit.orbit-two{width:220px;height:220px;border-color:#e2e7ef1c;transform:translate(-50%,-50%) rotate(16deg)}
.contact27-logo-plate{display:grid;place-items:center;width:min(204px,63%);aspect-ratio:1.2;filter:drop-shadow(0 22px 27px #0008);z-index:1}
.contact27-logo-plate img{width:100%;height:100%;object-fit:contain}
.contact27-hero-index{position:absolute;bottom:27px;right:30px;font:750 10px var(--latin,system-ui);letter-spacing:.19em;color:#7f8996}
.contact27-content{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(290px,.78fr);gap:20px;margin-top:26px;align-items:start}
.contact27-channels{min-width:0}
.contact27-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin:0 0 17px}
.contact27-section-head h2{font-size:23px;font-weight:800;line-height:1.3;letter-spacing:-.035em;margin:9px 0 5px;color:#f0f2f5}
.contact27-section-head p{font-size:12px;color:#939daa;margin:0;line-height:1.7}
.contact27-counter{flex:none;font:700 10px var(--latin,system-ui);color:#87919f;border:1px solid #363d47;padding:8px 10px;border-radius:8px}
.contact27-channel-list{display:grid;gap:10px}
.contact27-channel{display:flex;gap:16px;align-items:center;min-height:102px;border:1px solid #343943;border-radius:15px;background:linear-gradient(128deg,#1a1e24,#14171c);padding:17px 19px;text-decoration:none;box-shadow:inset 0 1px 0 #ffffff05;transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease}
.contact27-channel:hover{transform:translateY(-2px);border-color:#8993a1;background:linear-gradient(128deg,#20252c,#181b21);box-shadow:0 15px 34px #0006}
.contact27-channel:focus-visible,.contact27-orders-link:focus-visible,.contact27-follow:focus-visible,.contact27-guide a:focus-visible{outline:2px solid #dbe1ea;outline-offset:3px}
.contact27-channel-icon{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border:1px solid #414956;border-radius:14px;background:linear-gradient(160deg,#343b45,#242a33);color:#eff2f6}
.contact27-channel-icon svg{width:26px;height:26px}
.contact27-channel-info{display:grid;flex:1;gap:3px;min-width:0}
.contact27-channel-info small{font:700 9px var(--latin,system-ui);letter-spacing:.13em;color:#929ba8}
.contact27-channel-info strong{font-weight:800;font-size:16px;color:#f0f2f5}
.contact27-channel-info>span{color:#959eaa;font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.contact27-channel-end{align-self:center;display:flex;align-items:center;gap:9px;color:#b0b9c5;flex:none;font-size:11px;font-weight:700}
.contact27-channel-arrow{display:grid;place-items:center;width:34px;height:34px;border:1px solid #484f5a;background:#242a31;border-radius:10px;transition:background .2s ease,color .2s ease}
.contact27-channel-arrow svg{width:16px;height:16px}
.contact27-channel:hover .contact27-channel-arrow{color:#181b20;background:#e8ebf0;border-color:#e8ebf0}
.contact27-empty{display:flex;flex-direction:column;align-items:center;gap:11px;padding:40px 24px;min-height:212px;text-align:center;border:1px dashed #4a515c;border-radius:15px;background:#15191e;color:#a5adba}
.contact27-empty>svg{width:29px;height:29px;color:#c8d0db}
.contact27-empty strong{color:#edf0f4;font-size:15px}
.contact27-empty p{margin:0;font-size:12px;line-height:1.8;max-width:360px}
.contact27-empty a{display:inline-flex;align-items:center;gap:8px;margin-top:5px;color:#e5ebf4;font-size:12px;text-decoration:underline}
.contact27-empty a svg{width:15px;height:15px}
.contact27-follow{display:flex;gap:12px;align-items:center;margin-top:12px;padding:14px 17px;border:1px solid #2e343d;border-radius:13px;color:#dce1e8;background:#111419;transition:background .2s,border-color .2s}
.contact27-follow:hover{border-color:#646c77;background:#1a1f26}
.contact27-follow-symbol{display:grid;place-items:center;flex:none;width:35px;height:35px;background:#272c35;border:1px solid #414650;border-radius:10px;font-size:12px}
.contact27-follow>span:nth-child(2){flex:1;display:grid;gap:3px;min-width:0}
.contact27-follow strong{font-size:12px}
.contact27-follow small{font-size:10px;color:#919aa6}
.contact27-follow>svg{width:16px;height:16px}
.contact27-source-note{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:10px;color:#7c8592;line-height:1.6;margin:15px 2px 0}
.contact27-source-note svg{width:13px;height:13px}
.contact27-source-note a{color:#c8d1dc;text-decoration:underline}
.contact27-sidebar{display:grid;gap:12px;min-width:0}
.contact27-prep{padding:24px 25px 21px;border:1px solid #363b44;border-radius:17px;background:linear-gradient(160deg,#20252c,#14171c 75%);box-shadow:inset 0 1px 0 #ffffff07}
.contact27-prep-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.contact27-prep-symbol{display:grid;place-items:center;width:37px;height:37px;border:1px solid #444b57;border-radius:11px;background:#2b323b;color:#e8ecf2}
.contact27-prep-symbol svg{width:18px;height:18px}
.contact27-prep h2{font-size:25px;line-height:1.32;letter-spacing:-.04em;margin:12px 0 9px;color:#f3f4f7}
.contact27-prep>p{font-size:12px;line-height:1.75;color:#a2acb9;margin:0 0 19px}
.contact27-prep-steps{display:grid;gap:12px;padding-bottom:20px}
.contact27-prep-steps div{display:flex;align-items:baseline;gap:12px;font-size:12px;color:#d5dbe3;line-height:1.65}
.contact27-prep-steps span{font:750 10px var(--latin,system-ui);letter-spacing:.07em;color:#838d9b;flex:0 0 20px}
.contact27-orders-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-radius:11px;border:1px solid #e0e4eb;background:linear-gradient(120deg,#f4f6f8,#d7dce4);color:#171a20;font-size:12px;font-weight:800;transition:background .2s,transform .2s}
.contact27-orders-link:hover{background:#fff;transform:translateY(-1px);color:#111317}
.contact27-orders-link span{display:flex;align-items:center;gap:9px}
.contact27-orders-link svg{width:16px;height:16px}
.contact27-guide{display:flex;gap:13px;padding:18px;border:1px solid #313841;border-radius:15px;background:#15191d}
.contact27-guide-icon{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#293039;color:#d8e1e9}
.contact27-guide-icon svg{width:17px;height:17px}
.contact27-guide strong{color:#ebedf2;font-size:12px}
.contact27-guide p{margin:5px 0 9px;color:#98a2af;font-size:11px;line-height:1.7}
.contact27-guide a{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:750;color:#dbe2ec}
.contact27-guide a svg{width:14px;height:14px}
.contact27-security{margin:0 3px;color:#717b89;font-size:10px;line-height:1.75}
@media(max-width:880px){.contact27-content{grid-template-columns:1fr}.contact27-sidebar{grid-template-columns:1fr 1fr;align-items:start}.contact27-security{grid-column:1/-1}}
@media(max-width:690px){.contact27{margin-bottom:35px}.contact27 .contact27-crumb{margin:4px 0 15px}.contact27-hero{grid-template-columns:1fr;min-height:0;border-radius:18px}.contact27-hero-copy{padding:29px 25px 22px}.contact27-hero-copy h1{font-size:38px;margin:12px 0}.contact27-hero-copy>p{font-size:12px}.contact27-hero-foot{margin-top:19px}.contact27-hero-graphic{min-height:125px;border-top:1px solid #ffffff0a}.contact27-logo-plate{width:112px;aspect-ratio:1.5}.contact27-hero-orbit{width:190px;height:190px}.contact27-hero-orbit.orbit-two{width:148px;height:148px}.contact27-hero-index{bottom:13px;right:17px}.contact27-content{margin-top:24px;gap:20px}.contact27-section-head{gap:8px}.contact27-section-head h2{font-size:20px}.contact27-counter{font-size:9px;padding:7px 9px}.contact27-sidebar{grid-template-columns:1fr}.contact27-security{grid-column:auto}.contact27-channel{gap:12px;min-height:88px;padding:15px}.contact27-channel-icon{flex-basis:44px;width:44px;height:44px;border-radius:12px}.contact27-channel-icon svg{width:22px;height:22px}.contact27-channel-info strong{font-size:14px}.contact27-channel-end>span:first-child{display:none}.contact27-channel-arrow{width:32px;height:32px}.contact27-prep{padding:22px}.contact27-prep h2{font-size:22px}}
@media(max-width:380px){.contact27-hero-copy{padding:26px 19px 20px}.contact27-hero-copy h1{font-size:33px}.contact27-hero-foot{gap:7px}.contact27-hero-sep{display:none}.contact27-channel{padding:12px;gap:10px}.contact27-channel-info>span{font-size:10px}.contact27-section-head p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.contact27-channel,.contact27-channel-arrow,.contact27-follow,.contact27-orders-link{transition:none!important}}

/* FIX STORE V8.9.28 — simplified contact & help pages */
.support-page{max-width:980px;margin:0 auto;padding-bottom:48px}
.support-hub-header,.support-simple-hero{text-align:center;padding:10px 0 18px}
.support-hub-title{font-size:44px;line-height:1.1;letter-spacing:-.04em;margin:0;color:#f2f4f8}
.support-hub-subtitle,.support-simple-hero p{margin:10px 0 0;color:#a3adbb;font-size:18px;font-weight:600}
.support-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:680px;margin:14px auto 0}
.support-hub-card,.support-contact-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:190px;padding:28px;border:1px solid #2b323d;border-radius:22px;background:linear-gradient(180deg,#161a21,#0f1217);box-shadow:0 18px 40px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.03);text-align:center;text-decoration:none;color:#eef1f5;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease}
.support-hub-card:hover,.support-contact-card:hover{transform:translateY(-3px);border-color:#485263;box-shadow:0 22px 48px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.04);background:linear-gradient(180deg,#1b2028,#11151b)}
.support-hub-card strong,.support-contact-card strong{font-size:30px;line-height:1.15;letter-spacing:-.03em}
.support-hub-card small,.support-contact-card small{color:#9fa9b7;font-size:15px;line-height:1.7;max-width:280px}
.support-hub-icon,.support-contact-icon{display:grid;place-items:center;width:82px;height:82px;border-radius:999px;background:rgba(255,255,255,.06);color:#f2f4f8;border:1px solid rgba(255,255,255,.08)}
.support-hub-icon svg,.support-contact-icon svg{width:34px;height:34px}
.support-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:700px;margin:10px auto 0}
.support-contact-icon.facebook{background:#1f6fe5;color:#fff;border-color:#1f6fe5}
.support-contact-icon.discord{background:#5865f2;color:#fff;border-color:#5865f2}
.support-contact-icon.line{background:#16c75b;color:#fff;border-color:#16c75b}
.support-empty{grid-column:1/-1;padding:26px 22px;border:1px dashed #3a414e;border-radius:20px;background:#11151b;text-align:center;color:#a3adbb}
.support-empty strong{display:block;color:#edf1f5;font-size:20px;margin-bottom:8px}
.support-empty p{margin:0;line-height:1.8}
.support-text-link{display:inline-flex;align-items:center;gap:8px;margin-top:12px;color:#edf1f5;text-decoration:underline}
.support-text-link svg{width:14px;height:14px}
.support-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:6px;align-items:start}
.support-faq-item{align-self:start;height:auto;min-height:0;border:1px solid #2c3440;border-radius:18px;background:linear-gradient(180deg,#161a20,#11151a);overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.support-faq-item summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 18px;cursor:pointer;font-size:18px;font-weight:800;color:#f1f4f8}
.support-faq-item summary::-webkit-details-marker{display:none}
.support-faq-plus{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1px solid #3a4350;color:#cfd7e3;font-size:20px;line-height:1;transition:transform .2s ease,background .2s ease}
.support-faq-item[open] .support-faq-plus{transform:rotate(45deg);background:#1c222b}
.support-faq-answer{padding:0 18px 18px;color:#a6b0bd;font-size:15px;line-height:1.85}
.support-faq-answer a{color:#eef2f7;text-decoration:underline}
.support-faq-answer ol{margin:0;padding-left:20px}
.support-faq-answer li+li{margin-top:5px}
@media(max-width:760px){.support-hub-title{font-size:34px}.support-hub-subtitle,.support-simple-hero p{font-size:15px}.support-hub-grid,.support-contact-grid,.support-faq-grid{grid-template-columns:1fr}.support-hub-card,.support-contact-card{min-height:168px;padding:24px}.support-hub-card strong,.support-contact-card strong{font-size:24px}.support-hub-card small,.support-contact-card small,.support-faq-answer{font-size:14px}.support-faq-item summary{font-size:16px;padding:17px 16px}.support-hub-icon,.support-contact-icon{width:72px;height:72px}.support-page{padding-bottom:34px}}


/* FIX STORE V8.9.31 — compact mobile wallet balance; no floating cart. */
@media (max-width:760px){
 .site-header #header-credit:not([hidden]){
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 1 auto;
  min-width:0;
  max-width:145px;
  height:36px;
  padding:0 11px;
  gap:7px;
  border:1px solid #464d57;
  border-radius:11px;
  background:linear-gradient(150deg,#242830,#181b20);
  color:#f4f5f7;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  text-decoration:none;
  font:750 12px/1 'Outfit','Anuphan',system-ui,sans-serif;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  -webkit-tap-highlight-color:transparent;
 }
 .site-header #header-credit svg{
  display:block;
  width:15px;
  height:15px;
  flex:0 0 15px;
  color:#d8dce4;
 }
 .site-header #header-credit-amount{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
 }
 .site-header #header-credit:focus-visible{outline:2px solid #e5e9f0;outline-offset:3px}
}
@media (max-width:360px){
 .site-header #header-credit:not([hidden]){max-width:115px;padding:0 8px;gap:5px;font-size:11px;height:34px}
 .site-header #header-credit svg{width:14px;height:14px;flex-basis:14px}
}


/* FIX STORE V8.9.33 — No-hole FAQ columns and compact account dropdown.
   CSS-only change: existing details single-open behavior and menus stay intact. */
.support-page .support-faq-grid{
  display:block !important;
  column-count:2;
  column-gap:14px;
  column-fill:balance;
  margin-top:6px;
}
.support-page .support-faq-item{
  box-sizing:border-box;
  display:inline-block;
  width:100%;
  margin:0 0 14px;
  vertical-align:top;
  break-inside:avoid;
  page-break-inside:avoid;
  -webkit-column-break-inside:avoid;
}
@media (max-width:760px){
  .support-page .support-faq-grid{column-count:1;column-gap:0}
  .support-page .support-faq-item{margin-bottom:11px}
}
/* Compact dropdown on all screen sizes, retains usable touch targets. */
.site-header #mobile-nav.fx-mobile-account-dropdown:not([hidden]){
  width:min(310px,calc(100vw - 24px)) !important;
  max-height:min(74dvh,480px) !important;
  padding:6px !important;
  border-radius:15px !important;
}
.site-header .fx-mobile-menu-profile{
  gap:9px;
  padding:9px 8px 10px;
}
.site-header .fx-mobile-menu-avatar{
  width:40px;
  height:40px;
  flex:0 0 40px;
  border-radius:11px;
}
.site-header .fx-mobile-menu-identity strong{font-size:12px}
.site-header .fx-mobile-menu-identity small{font-size:10px}
.site-header .fx-mobile-menu-role{font-size:8.5px;padding:4px 7px}
.site-header .fx-mobile-menu-balance{
  margin:0 7px 8px;
  padding:8px 11px;
  border-radius:9px;
}
.site-header .fx-mobile-menu-balance span{font-size:10px}
.site-header .fx-mobile-menu-balance strong{font-size:12px}
.site-header .fx-mobile-menu-links{padding:4px 2px}
.site-header .fx-mobile-account-dropdown .fx-mobile-menu-links>a{
  min-height:40px !important;
  gap:9px;
  padding:8px 9px !important;
  font-size:11.5px !important;
  border-radius:9px !important;
}
.site-header .fx-mobile-menu-row-icon{width:20px;height:20px}
.site-header .fx-mobile-menu-row-icon svg{width:15px;height:15px}
.site-header .fx-mobile-account-dropdown .fx-mobile-menu-arrow{width:19px;height:19px;font-size:18px}
.site-header .fx-mobile-menu-footer{margin:0 2px 2px;padding-top:5px}
.site-header .fx-mobile-menu-logout{
  min-height:40px;
  padding:8px 9px;
  gap:9px;
  font-size:11.5px;
}
@media (max-width:460px){
  .site-header #mobile-nav.fx-mobile-account-dropdown:not([hidden]){
    right:9px !important;
    width:min(310px,calc(100vw - 18px)) !important;
  }
  .site-header .fx-mobile-menu-avatar{
    width:39px;
    height:39px;
    flex-basis:39px;
  }
}


/* V8.9.34 — Orders and order detail visual refresh */
.orders-upgraded .orders-toolbar{max-width:1040px;margin:6px auto 0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 4px 0;color:#a8adb7}
.orders-upgraded .order-list{max-width:1040px;margin:18px auto 0;gap:18px}
.premium-order-card{padding:22px 22px 20px;border:1px solid #303744;border-radius:22px;background:radial-gradient(circle at top right,#252d3a55 0,transparent 34%),linear-gradient(120deg,#151920 0%,#0f1115 58%,#12151b 100%);box-shadow:0 18px 38px #00000040}
.order-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.order-brand-block{display:grid;gap:7px}
.order-brand{display:inline-flex;align-items:center;gap:8px;width:max-content;padding:7px 11px;border-radius:999px;border:1px solid #4f5563;background:#ffffff08;color:#f4f7fb;font:800 11px var(--latin);letter-spacing:.8px}
.order-brand-block small{display:block;color:#8f96a1;font-size:11px;line-height:1.6}
.premium-status{padding:8px 12px;border-radius:999px;font-weight:800;font-size:11px;letter-spacing:.1px;background:#ffffff05}
.order-card-main{display:grid;gap:15px;margin-top:18px}
.order-card-title-row h3{margin:0;font-size:22px;line-height:1.25;color:#f4f5f8;letter-spacing:-.3px}
.order-card-title-row p{margin:7px 0 0;color:#99a1ae;font-size:12px}
.order-item-chip-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.order-item-chip{padding:13px 14px;border:1px solid #2f3641;border-radius:16px;background:linear-gradient(180deg,#171b22,#11141a)}
.order-item-chip strong{display:block;font-size:13px;color:#edf1f6;margin-bottom:5px}
.order-item-chip span{display:block;color:#9aa2af;font-size:11px;line-height:1.55}
.order-card-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:18px;padding-top:18px;border-top:1px solid #2f3540}
.order-total-box{display:grid;gap:6px;padding:14px 16px;min-width:160px;border-radius:16px;border:1px solid #333a45;background:linear-gradient(180deg,#171b22,#101318)}
.order-total-box span{font-size:11px;color:#8f97a4}
.order-total-box strong{font:800 28px var(--latin);letter-spacing:-.5px;color:#f9fafc}
.premium-order-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
.premium-order-actions .mini-btn{height:38px;padding:0 14px;border-radius:12px;font-size:12px}
.premium-order-actions .primary-mini{background:linear-gradient(180deg,#eef1f7,#cfd6e3);color:#101317;border-color:#cad2df;font-weight:800}
.premium-order-actions .claim-mini{border-color:#61546a;color:#f0d1ff;background:#241927}
.order-detail-modal.premium-order-modal{width:min(760px,calc(100vw - 28px));padding:28px 28px 24px;border:1px solid #373e4a;border-radius:26px;background:radial-gradient(circle at top right,#24304352 0,transparent 34%),linear-gradient(130deg,#171b22 0%,#101318 55%,#11141a 100%)}
.order-modal-title{margin-bottom:18px}
.order-modal-title h2{font-size:30px;letter-spacing:-.8px}
.order-modal-hero{display:grid;gap:14px;margin-bottom:18px}
.order-modal-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid #323a46;border-radius:16px;background:#12161d}
.order-modal-status span{font-size:12px;color:#98a0ad}
.order-modal-status .status{margin-left:auto}
.order-modal-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.order-modal-metrics>div{padding:15px 16px;border-radius:16px;border:1px solid #313743;background:linear-gradient(180deg,#171b22,#11151b)}
.order-modal-metrics span{display:block;color:#9199a6;font-size:11px;margin-bottom:7px}
.order-modal-metrics strong{font:800 22px var(--latin);color:#fafbfd}
.order-modal-items,.order-modal-delivery{margin-top:18px}
.order-modal-section-head{margin-bottom:12px}
.order-modal-section-head h3{margin:5px 0 0;font-size:18px;color:#f7f9fc}
.order-modal-item-list{display:grid;gap:10px}
.order-modal-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px;border-radius:15px;border:1px solid #2f3641;background:#13171e}
.order-modal-item strong{display:block;font-size:14px;color:#f2f5f8}
.order-modal-item p{margin:4px 0 0;color:#97a0ad;font-size:11px}
.order-modal-item b{font-size:12px;color:#e6eaf0;background:#ffffff08;border:1px solid #39414c;border-radius:999px;padding:8px 10px;white-space:nowrap}
.premium-delivery-box{padding:16px 16px 14px;border:1px solid #2f3641;border-radius:18px;background:linear-gradient(180deg,#141920,#101319);margin-bottom:12px}
.premium-delivery-box .delivery-box-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.premium-delivery-box .delivery-box-heading strong{display:block;font-size:15px;color:#f3f5f8}
.premium-delivery-box .delivery-box-heading small{display:block;margin-top:4px;color:#97a0ad;font-size:11px}
.delivery-qty{flex:none;padding:7px 10px;border-radius:999px;border:1px solid #37404c;background:#ffffff08;color:#d8dde4;font-size:11px;font-weight:700}
.premium-delivery-secret{padding:12px;border-radius:14px;border:1px dashed #39414c;background:#11151b;margin-top:10px}
.delivery-secret-head{margin-bottom:8px}
.delivery-secret-head small{color:#a3acb8;font-size:11px;font-weight:700}
.order-detail-modal .secret-row{display:grid;grid-template-columns:130px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #232933}
.order-detail-modal .secret-row:first-of-type{border-top:0;padding-top:0}
.order-detail-modal .secret-row span{color:#97a0ad;font-size:11px}
.order-detail-modal .secret-row code{display:block;padding:9px 10px;border-radius:11px;background:#0c1015;border:1px solid #2e353f;color:#eef2f7;font-size:12px;word-break:break-all}
.order-detail-modal .secret-row button{height:34px;padding:0 12px;border-radius:10px;border:1px solid #3b4350;background:#1b2027;color:#eff3f8;font-size:11px;font-weight:700}
.order-detail-modal .delivery-pending{padding:16px 15px;border-radius:14px;border:1px dashed #39414c;background:#11151b;color:#a3acb8;font-size:12px;line-height:1.7}
.premium-delivery-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:18px;border-top:1px solid #2c3340;margin-top:20px}
.premium-delivery-footer .btn{min-height:44px;border-radius:13px}
@media (max-width: 860px){
  .order-card-footer{flex-direction:column;align-items:stretch}
  .order-total-box{width:100%}
  .premium-order-actions{justify-content:stretch}
  .premium-order-actions .mini-btn{flex:1 1 180px}
  .order-detail-modal .secret-row{grid-template-columns:1fr;align-items:stretch}
  .order-detail-modal .secret-row button{width:100%}
  .order-modal-metrics{grid-template-columns:1fr}
  .premium-delivery-footer{flex-direction:column}
  .premium-delivery-footer .btn{width:100%}
}
@media (max-width: 640px){
  .orders-upgraded .orders-toolbar{padding-top:8px;align-items:flex-start;flex-direction:column}
  .premium-order-card{padding:18px}
  .order-card-head{flex-direction:column;align-items:flex-start}
  .order-card-title-row h3{font-size:18px}
  .order-item-chip-list{grid-template-columns:1fr}
  .order-detail-modal.premium-order-modal{padding:20px 18px 18px;border-radius:22px}
  .order-modal-title h2{font-size:24px}
  .premium-delivery-box .delivery-box-heading,.order-modal-item{flex-direction:column;align-items:flex-start}
  .order-modal-item b{align-self:flex-start}
}


/* V8.9.35 — purchase history + claim modal refresh */
.order-history-clean{max-width:1280px;margin:0 auto;padding-bottom:30px}
.clean-orders-title{display:grid;justify-items:center;text-align:center;gap:8px;margin-bottom:18px}
.clean-orders-title p{max-width:620px;color:#8d95a1}
.clean-orders-tabs{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.clean-orders-tabs button{min-width:180px;height:52px;padding:0 18px;border-radius:999px;border:1px solid #2f3641;background:#12161d;color:#dce1e8;font:700 14px/1 var(--font);display:flex;align-items:center;justify-content:center;gap:10px;transition:.2s}
.clean-orders-tabs button span{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 8px;border-radius:999px;background:#ffffff10;color:#fff;font-size:12px}
.clean-orders-tabs button.active{background:linear-gradient(180deg,#f1f4f8,#d8dfe8);border-color:#d8dfe8;color:#0f1318;box-shadow:0 12px 24px #00000022}
.clean-orders-tabs button.active span{background:#0f131816;color:#0f1318}
.history-intro-card{display:flex;align-items:center;gap:14px;padding:18px 20px;border-radius:18px;border:1px solid #2a313d;background:linear-gradient(180deg,#141920,#10141a);margin-bottom:18px}
.history-intro-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#182334;border:1px solid #2e4158;color:#eef3f8;flex:none}
.history-intro-card strong{display:block;font-size:18px;color:#f4f7fb;margin-bottom:4px}
.history-intro-card p{margin:0;color:#9ba3b0;font-size:13px}
.clean-orders-toolbar{max-width:none;margin:0 0 14px;padding:0;display:flex;justify-content:space-between;align-items:center;color:#9ea6b2}
.orders-table-shell{border:1px solid #2b323d;border-radius:20px;background:linear-gradient(180deg,#13171d,#101318);overflow:hidden;box-shadow:0 18px 40px #00000025}
.orders-data-table{width:100%;border-collapse:collapse}
.orders-data-table thead th{padding:16px 18px;border-bottom:1px solid #2b323d;background:#11151b;color:#8f96a2;font-size:12px;font-weight:700;text-align:left}
.orders-data-table tbody td{padding:18px;border-bottom:1px solid #262d38;vertical-align:middle}
.orders-data-table tbody tr:last-child td{border-bottom:none}
.orders-data-table tbody tr:hover{background:#ffffff04}
.history-product-cell{display:grid;gap:6px;min-width:260px}
.history-product-cell strong{font-size:17px;line-height:1.35;color:#f4f6f9}
.history-product-cell small{color:#7f8895;font-size:11px;letter-spacing:.2px}
.history-qty-badge{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:30px;padding:0 10px;border-radius:999px;background:#1d2330;border:1px solid #303949;color:#f1f5fa;font-weight:700;font-size:13px}
.history-price{font:800 28px/1 var(--latin);color:#f7fafc;letter-spacing:-.5px}
.history-price::before{content:'฿';margin-right:2px;font-size:.78em;color:#9ea7b3}
.history-status-chip{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;border:1px solid #37404c;background:#151a21;color:#e7ebf1;font-size:12px;font-weight:700;white-space:nowrap}
.history-status-chip.completed{background:#122117;border-color:#284232;color:#d7ffe0}
.history-status-chip.pending,.history-status-chip.processing{background:#251d11;border-color:#51402a;color:#ffe8b6}
.history-status-chip::before{content:'';width:8px;height:8px;border-radius:50%;background:currentColor;opacity:.75}
.history-date{color:#cad1db;font-size:13px;white-space:nowrap}
.history-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.history-btn{height:40px;padding:0 15px;border-radius:999px;border:1px solid #384352;background:#151a21;color:#edf1f6;font:700 13px var(--font);display:inline-flex;align-items:center;gap:8px;transition:.2s}
.history-btn svg{width:15px;height:15px}
.history-btn-view{border-color:#355676;background:#142131;color:#bfe4ff}
.history-btn-claim{border-color:#6b5632;background:#251b0d;color:#ffd891}
.history-clean-modal{width:min(860px,calc(100vw - 26px));padding:0;border:1px solid #2f3641;border-radius:22px;background:#f6f8fb;color:#111926;overflow:hidden;box-shadow:0 36px 80px #0000004a}
.history-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #e5ebf3;background:linear-gradient(180deg,#ffffff,#f6f8fb)}
.history-modal-product{display:flex;align-items:center;gap:14px;min-width:0}
.history-order-thumb,.history-claim-thumb{width:64px;height:64px;border-radius:14px;overflow:hidden;border:1px solid #dbe3ee;background:#eef3f8;display:grid;place-items:center;flex:none}
.history-order-thumb img,.history-claim-thumb img{width:100%;height:100%;object-fit:cover}
.history-order-thumb .art-glyph,.history-claim-thumb .art-glyph{font-size:28px;color:#667085}
.history-modal-product h2{margin:5px 0 4px;font-size:17px;line-height:1.35;color:#151d28}
.history-modal-product p{margin:0;color:#748091;font-size:12px}
.history-modal-close{width:36px;height:36px;border-radius:12px;border:1px solid #d8e0ea;background:#fff;color:#5d6775;font-size:24px;line-height:1;display:grid;place-items:center;flex:none}
.history-modal-body{padding:20px 22px 14px;display:grid;gap:16px;max-height:min(72vh,720px);overflow:auto}
.history-modal-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.history-modal-summary>div{padding:14px 15px;border-radius:16px;border:1px solid #e0e7f0;background:#fff}
.history-modal-summary span{display:block;font-size:11px;color:#7b8796;margin-bottom:8px}
.history-modal-summary strong{display:block;font-size:14px;color:#18212d;line-height:1.4;word-break:break-word}
.history-modal-section{padding:16px;border-radius:18px;border:1px solid #e2e8f0;background:#fff}
.history-modal-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #edf2f7}
.history-modal-section-head strong{font-size:16px;color:#17212d}
.history-modal-section-head span{font-size:12px;color:#7b8796}
.history-order-block{padding:14px 0;border-top:1px solid #edf2f7}
.history-order-block:first-of-type{padding-top:0;border-top:0}
.history-order-block-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.history-order-block-head strong{display:block;font-size:14px;color:#17212d}
.history-order-block-head small{display:block;margin-top:4px;color:#7f8a99;font-size:11px}
.history-order-block-head span{padding:7px 10px;border-radius:999px;background:#f3f6fa;border:1px solid #e3e9f1;color:#647183;font-size:11px;font-weight:700;white-space:nowrap}
.history-code-panel{padding:12px;border-radius:16px;border:1px solid #e4eaf2;background:#fbfcfd;margin-top:10px}
.history-code-panel-title{font-size:12px;font-weight:800;color:#657386;margin-bottom:10px}
.history-code-row{display:grid;grid-template-columns:130px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 0;border-top:1px dashed #e3e9f1}
.history-code-row:first-of-type{padding-top:0;border-top:0}
.history-code-row label{font-size:12px;color:#6f7c8c;font-weight:700}
.history-code-value{min-height:42px;padding:11px 12px;border-radius:12px;border:1px solid #dbe3ee;background:#fff;color:#17212d;font:500 13px/1.55 var(--latin);word-break:break-all}
.history-inline-copy{height:40px;padding:0 14px;border-radius:12px;border:1px solid #cfe0ef;background:#f3f9ff;color:#1f6eb6;font:700 12px var(--font)}
.clean-pending{padding:16px;border-radius:15px;border:1px dashed #d8e2ec;background:#f9fbfd;color:#718093;font-size:13px;line-height:1.7}
.history-modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:18px 22px 22px;border-top:1px solid #e7edf5;background:#f8fafc}
.history-main-btn{height:46px;padding:0 24px;border-radius:14px;border:1px solid #ff4b75;background:linear-gradient(180deg,#ff5d83,#f23d66);color:#fff;font:800 14px var(--font);box-shadow:0 12px 24px #f13d6630}
.history-main-btn-light{border-color:#cfe0ef;background:#f2f8fd;color:#1b6eb6;box-shadow:none}
.claim-clean-modal{width:min(560px,calc(100vw - 24px))}
.claim-modal-head{padding-bottom:14px}
.claim-clean-form{padding:0 22px 22px}
.claim-order-meta{padding:12px 14px;border-radius:14px;background:#fff7ec;border:1px solid #fde3b9;color:#9a6700;font-size:12px;font-weight:700;margin-bottom:16px}
.claim-field{display:grid;gap:8px;margin-bottom:14px}
.claim-field span{font-size:13px;font-weight:700;color:#202a37}
.claim-clean-form .input{border-radius:14px;border-color:#dde5ef;background:#fff;color:#17212d}
.claim-clean-form .input:focus{border-color:#f4a31a;box-shadow:0 0 0 4px #f4a31a1a}
.claim-clean-form textarea{min-height:150px;resize:vertical}
.claim-note{margin:0;color:#798595;font-size:12px;line-height:1.7}
.claim-modal-footer{padding:18px 0 0;border-top:0;background:transparent;justify-content:space-between}
.claim-submit-btn{border-color:#f2a100;background:linear-gradient(180deg,#ffb321,#f59e0b);box-shadow:0 12px 24px #f59e0b33;color:#fff}
@media (max-width: 1024px){
 .orders-data-table thead th:nth-child(5),.orders-data-table tbody td:nth-child(5){min-width:170px}
 .history-modal-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 760px){
 .clean-orders-toolbar{flex-direction:column;align-items:flex-start;gap:10px}
 .orders-table-shell{border:none;background:transparent;box-shadow:none}
 .orders-data-table,.orders-data-table thead,.orders-data-table tbody,.orders-data-table tr,.orders-data-table th,.orders-data-table td{display:block;width:100%}
 .orders-data-table thead{display:none}
 .orders-data-table tbody{display:grid;gap:12px}
 .orders-data-table tr{padding:16px;border-radius:18px;border:1px solid #2b323d;background:linear-gradient(180deg,#13171d,#101318)}
 .orders-data-table tbody td{border:0;padding:0;margin-bottom:12px}
 .orders-data-table tbody td:last-child{margin-bottom:0}
 .orders-data-table td::before{content:attr(data-label);display:block;margin-bottom:6px;color:#7f8895;font-size:11px;font-weight:700}
 .history-actions{justify-content:flex-start}
 .history-price{font-size:24px}
 .history-modal-head{padding:18px}
 .history-modal-body{padding:18px}
 .history-modal-summary{grid-template-columns:1fr}
 .history-modal-section-head,.history-order-block-head,.history-modal-footer,.claim-modal-footer{flex-direction:column;align-items:stretch}
 .history-code-row{grid-template-columns:1fr}
 .history-inline-copy,.history-main-btn,.history-main-btn-light{width:100%}
 .claim-clean-form{padding:0 18px 18px}
}


/* FIX STORE V8.9.36 — Clean charcoal purchase history and order dialogs */
/* Neutral palette. Scope all overrides to the purchase/claim UI only. */
.order-history-clean{max-width:1210px}
.order-history-clean .clean-orders-title{margin-bottom:22px}
.order-history-clean .clean-orders-title .page-title{font-size:clamp(27px,3vw,36px);letter-spacing:-.035em}
.order-history-clean .clean-orders-title p{font-size:13px;color:#9aa1aa}
.order-history-clean .clean-orders-tabs{gap:5px;width:max-content;max-width:100%;padding:5px;border-radius:15px;border:1px solid #343941;background:#101215;margin:0 auto 22px}
.order-history-clean .clean-orders-tabs button{height:40px;min-width:0;padding:0 16px;border-radius:10px;border:1px solid transparent;background:transparent;color:#969ca5;box-shadow:none;font-size:12px;white-space:nowrap}
.order-history-clean .clean-orders-tabs button:hover{color:#f7f7f8;background:#25282d}
.order-history-clean .clean-orders-tabs button.active{background:#e6e8ec;border-color:#e6e8ec;color:#17191d;box-shadow:none}
.order-history-clean .clean-orders-tabs button span{min-width:22px;height:22px;font-size:11px;background:#262b32;color:#bfc4cb}
.order-history-clean .clean-orders-tabs button.active span{background:#d2d5da;color:#181a1e}
.order-history-clean .history-intro-card{padding:14px 17px;border-radius:14px;border-color:#2d3139;background:#14171b;box-shadow:none;margin-bottom:20px;min-height:73px}
.order-history-clean .history-intro-icon{width:40px;height:40px;border:1px solid #353a43;background:#22262c;border-radius:11px;color:#d4d8df}
.order-history-clean .history-intro-card strong{font-size:14px;font-weight:750;color:#f2f3f4;margin-bottom:3px}
.order-history-clean .history-intro-card p{font-size:12px;color:#8e959f;line-height:1.5}
.order-history-clean .clean-orders-toolbar{margin:0 0 12px;padding:0 2px;min-height:22px}
.order-history-clean .clean-orders-toolbar span{font-size:12px;font-weight:650;color:#858e9a}
.order-history-clean .orders-table-shell{border:1px solid #30343c;border-radius:15px;background:#111317;box-shadow:none}
.order-history-clean .orders-data-table thead th{padding:13px 17px;background:#16191d;border-bottom:1px solid #30343c;color:#949ca8;font-size:11px}
.order-history-clean .orders-data-table tbody td{padding:17px;border-bottom-color:#2b2e35}
.order-history-clean .orders-data-table tbody tr:hover{background:#ffffff05}
.order-history-clean .history-product-cell strong{font-size:14px;font-weight:750;color:#f1f2f4}
.order-history-clean .history-product-cell small{font-size:10px;color:#858b95}
.order-history-clean .history-qty-badge{border-color:#333942;background:#20242a;color:#e3e5e9;font-size:12px;width:32px;min-width:32px;height:27px}
.order-history-clean .history-price{font-size:20px;color:#f2f3f5;font-weight:750}
.order-history-clean .history-price::before{color:#b7bdc5;font-size:.86em}
.order-history-clean .history-status-chip{font-size:11px;border-radius:8px;padding:8px 10px;color:#bdc5cf;border-color:#42464f;background:#23252a;font-weight:650}
.order-history-clean .history-status-chip.pending,.order-history-clean .history-status-chip.processing{color:#e0c08b;border-color:#5b4e3a;background:#292319}
.order-history-clean .history-status-chip.completed{color:#a8d0b6;border-color:#3a5141;background:#19251d}
.order-history-clean .history-status-chip.cancelled{color:#daa2a9;border-color:#5b3a3e;background:#281b20}
.order-history-clean .history-date{color:#b0b7c0;font-size:12px}
.order-history-clean .history-btn{height:34px;padding:0 12px;background:#22262b;border:1px solid #3c414a;color:#e5e7eb;border-radius:9px;font-size:11px;box-shadow:none}
.order-history-clean .history-btn:hover{background:#30353c;border-color:#59606b;color:#fff}
.order-history-clean .history-btn-view{background:#dadde2;color:#1b1e23;border-color:#dadde2}
.order-history-clean .history-btn-view:hover{background:#fff;border-color:#fff;color:#111}
.order-history-clean .history-btn-claim{background:#282126;border-color:#604349;color:#dfb1b9}
.order-history-clean .history-btn-claim:hover{background:#38272d;border-color:#87525d;color:#f2c8d0}
/* Order details: remove white/blue and match the FIX STORE chrome and panels. */
.modal-backdrop .history-clean-modal{background:#141619;color:#eceef1;border:1px solid #41454d;border-radius:19px;box-shadow:0 34px 80px #000b,0 0 0 1px #fff1}
.modal-backdrop .history-clean-modal .history-modal-head{background:#191c21;border-bottom:1px solid #33373f;padding:20px 23px}
.modal-backdrop .history-clean-modal .history-modal-product h2{color:#f3f4f6;font-size:18px;font-weight:750}
.modal-backdrop .history-clean-modal .history-modal-product p{color:#929aa5}
.modal-backdrop .history-clean-modal .history-modal-product .eyebrow{color:#9199a4}
.modal-backdrop .history-clean-modal .history-order-thumb,
.modal-backdrop .history-clean-modal .history-claim-thumb{border-radius:12px;border-color:#454950;background:#22262c}
.modal-backdrop .history-clean-modal .history-order-thumb .art-glyph,
.modal-backdrop .history-clean-modal .history-claim-thumb .art-glyph{color:#c5c9d1}
.modal-backdrop .history-clean-modal .history-modal-close{width:33px;height:33px;border:1px solid #454951;background:#24272d;border-radius:9px;color:#d5d8de}
.modal-backdrop .history-clean-modal .history-modal-close:hover{background:#353940;color:#fff}
.modal-backdrop .history-clean-modal .history-modal-body{background:#141619;gap:14px;padding:20px 23px 14px;max-height:min(68vh,660px)}
.modal-backdrop .history-clean-modal .history-modal-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.modal-backdrop .history-clean-modal .history-modal-summary>div{padding:13px 14px;min-width:0;border-radius:11px;border:1px solid #373c45;background:#1d2025}
.modal-backdrop .history-clean-modal .history-modal-summary span{font-size:11px;color:#a3a9b2;margin-bottom:7px}
.modal-backdrop .history-clean-modal .history-modal-summary strong{font-size:15px;color:#f6f7f9;font-weight:780}
.modal-backdrop .history-clean-modal .history-detail-status{display:inline-flex;align-items:center;gap:7px}
.modal-backdrop .history-clean-modal .history-detail-status::before{content:'';display:inline-block;width:7px;height:7px;flex:none;border-radius:50%;background:#b8bfc8}
.modal-backdrop .history-clean-modal .history-detail-status.pending::before,
.modal-backdrop .history-clean-modal .history-detail-status.processing::before{background:#e4bf85}
.modal-backdrop .history-clean-modal .history-detail-status.completed::before{background:#89be9a}
.modal-backdrop .history-clean-modal .history-detail-status.cancelled::before{background:#d5939b}
.modal-backdrop .history-clean-modal .history-modal-section{padding:17px;border-radius:13px;border:1px solid #333840;background:#1b1d22}
.modal-backdrop .history-clean-modal .history-modal-section-head{padding-bottom:13px;border-bottom:1px solid #363a42}
.modal-backdrop .history-clean-modal .history-modal-section-head strong{color:#f1f2f4;font-size:14px}
.modal-backdrop .history-clean-modal .history-modal-section-head span{color:#9098a3;font-size:11px}
.modal-backdrop .history-clean-modal .history-order-block{border-top-color:#333841}
.modal-backdrop .history-clean-modal .history-order-block-head strong{color:#ebeef2}
.modal-backdrop .history-clean-modal .history-order-block-head small{color:#a1a8b2}
.modal-backdrop .history-clean-modal .history-order-block-head span{border-color:#3a404a;background:#272a30;color:#cbd0d7}
.modal-backdrop .history-clean-modal .history-code-panel{border:1px solid #363b44;background:#191b20;border-radius:12px}
.modal-backdrop .history-clean-modal .history-code-panel-title{color:#aab1bb}
.modal-backdrop .history-clean-modal .history-code-row{border-top-color:#373b43}
.modal-backdrop .history-clean-modal .history-code-row label{color:#aab0bb}
.modal-backdrop .history-clean-modal .history-code-value{border:1px solid #40444d;background:#0e1013;color:#f3f5f7}
.modal-backdrop .history-clean-modal .history-inline-copy{border-color:#454a53;background:#292d34;color:#e9ebef;border-radius:9px}
.modal-backdrop .history-clean-modal .history-inline-copy:hover{background:#383d46;color:#fff}
.modal-backdrop .history-clean-modal .clean-pending{border:1px dashed #474a52;border-radius:11px;background:#15171b;color:#b2b7c0}
.modal-backdrop .history-clean-modal .history-modal-footer{padding:16px 23px 20px;border-top:1px solid #363a41;background:#191b20}
.modal-backdrop .history-clean-modal .history-main-btn{border:1px solid #dce0e5;background:#dce0e5;color:#15181c;border-radius:10px;box-shadow:none;height:41px;padding:0 18px;font-size:12px}
.modal-backdrop .history-clean-modal .history-main-btn:hover{background:#fff;border-color:#fff}
.modal-backdrop .history-clean-modal .history-main-btn-light{border:1px solid #444950;background:#292c32;color:#e4e6eb}
.modal-backdrop .history-clean-modal .history-main-btn-light:hover{background:#373b43;border-color:#60656d;color:#fff}
/* Claim form uses the same quiet, neutral contrast as the order dialog. */
.modal-backdrop .claim-clean-modal .claim-clean-form{background:#141619}
.modal-backdrop .claim-clean-modal .claim-order-meta{border-color:#454950;background:#22252b;color:#c7ccd4}
.modal-backdrop .claim-clean-modal .claim-field span{color:#d6dae1}
.modal-backdrop .claim-clean-modal .claim-clean-form .input{background:#101216;border:1px solid #40454e;color:#f0f1f4}
.modal-backdrop .claim-clean-modal .claim-clean-form .input::placeholder{color:#747d88}
.modal-backdrop .claim-clean-modal .claim-clean-form .input:focus{border-color:#b1b7c0;box-shadow:0 0 0 3px #cfd4dd19}
.modal-backdrop .claim-clean-modal select option{background:#17191d;color:#f3f3f5}
.modal-backdrop .claim-clean-modal .claim-note{color:#a8adb6}
.modal-backdrop .claim-clean-modal .claim-modal-footer{background:transparent;border:0;padding:14px 0 0}
.modal-backdrop .claim-clean-modal .claim-submit-btn{border-color:#dce0e5;background:#dce0e5;color:#191b1f;box-shadow:none}
@media(max-width:760px){
 .order-history-clean .clean-orders-tabs{width:100%;justify-content:space-between;gap:1px;padding:4px}
 .order-history-clean .clean-orders-tabs button{flex:1 1 0;padding:0 5px;height:40px;font-size:11px}
 .order-history-clean .clean-orders-tabs button span{min-width:19px;height:19px;padding:0 4px}
 .order-history-clean .history-intro-card{padding:12px 13px}
 .order-history-clean .orders-data-table tbody tr{background:#14171b;border:1px solid #353940;border-radius:13px}
 .order-history-clean .orders-data-table tbody td{padding:0;margin-bottom:10px}
 .order-history-clean .history-actions{justify-content:flex-start}
 .modal-backdrop .history-clean-modal .history-modal-body{padding:15px;max-height:calc(100dvh - 215px)}
 .modal-backdrop .history-clean-modal .history-modal-head{padding:15px}
 .modal-backdrop .history-clean-modal .history-modal-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .modal-backdrop .history-clean-modal .history-modal-summary>div{padding:10px 8px}
 .modal-backdrop .history-clean-modal .history-modal-summary strong{font-size:12px}
 .modal-backdrop .history-clean-modal .history-modal-summary span{font-size:10px}
 .modal-backdrop .history-clean-modal .history-modal-section{padding:12px}
 .modal-backdrop .history-clean-modal .history-modal-footer{padding:13px 15px 16px}
 .modal-backdrop .claim-clean-modal .claim-clean-form{padding:0 15px 16px}
}

/* Compact responsive cards: no long mobile table and no squeezed order status. */
@media(max-width:760px){
 .order-history-clean .orders-data-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:10px;padding:15px}
 .order-history-clean .orders-data-table tbody td{min-width:0;padding:0;margin:0;border:0}
 .order-history-clean .orders-data-table tbody td:first-child{grid-column:1/-1;padding-bottom:11px;border-bottom:1px solid #2b3037}
 .order-history-clean .orders-data-table tbody td:nth-child(4){grid-column:1;min-width:0}
 .order-history-clean .orders-data-table tbody td:nth-child(5){grid-column:2;min-width:0!important}
 .order-history-clean .orders-data-table tbody td:nth-child(6){grid-column:1/-1;padding-top:11px;border-top:1px solid #2b3037}
 .order-history-clean .history-date{white-space:normal;font-size:11px}
 .order-history-clean .history-product-cell{min-width:0}
 .order-history-clean .history-btn{flex:1 1 0;justify-content:center}
 .modal-backdrop .history-clean-modal .history-modal-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .modal-backdrop .history-clean-modal .history-modal-summary>div:first-child{grid-column:1/-1}
 .modal-backdrop .history-clean-modal .history-modal-summary strong{font-size:13px}
}


/* V8.9.37 — purchase history stable layout + realtime results */
.order-history-clean #orders-results{min-width:0;width:100%}
.order-history-clean .orders-table-shell{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
.order-history-clean .orders-data-table{table-layout:auto}
.order-history-clean .orders-data-table tbody td{min-width:0}
.order-history-clean .history-product-cell{min-width:0;overflow-wrap:anywhere}
.order-history-clean .history-product-cell strong{overflow-wrap:anywhere}
.order-history-clean .history-date{overflow-wrap:anywhere}
.order-history-clean .history-actions{flex-wrap:wrap}
.order-history-clean .history-btn{white-space:nowrap;cursor:pointer}
.order-history-clean .history-empty-state{padding:34px 20px;text-align:center;border:1px solid #333941;background:#15181d;border-radius:15px;display:grid;justify-items:center;gap:10px}
.order-history-clean .history-empty-state strong{color:#f1f3f6;font-size:16px}
.order-history-clean .history-empty-state p{font-size:13px;color:#9da6b2;margin:0}
.order-history-clean .history-empty-state .btn{margin-top:4px}
@media(max-width:1100px){
  .order-history-clean .orders-table-shell{overflow:visible;border:0;background:transparent;box-shadow:none}
  .order-history-clean .orders-data-table,
  .order-history-clean .orders-data-table tbody,
  .order-history-clean .orders-data-table tr,
  .order-history-clean .orders-data-table td{display:block;width:100%}
  .order-history-clean .orders-data-table thead{display:none}
  .order-history-clean .orders-data-table tbody{display:grid;gap:12px}
  .order-history-clean .orders-data-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;border:1px solid #343941;border-radius:15px;padding:16px;background:#14171c;min-width:0}
  .order-history-clean .orders-data-table tbody td{display:block;padding:0!important;margin:0!important;border:0!important;min-width:0!important;max-width:100%}
  .order-history-clean .orders-data-table tbody td::before{content:attr(data-label);display:block;margin-bottom:6px;color:#89929f;font-size:11px;font-weight:650}
  .order-history-clean .orders-data-table tbody td:first-child{grid-column:1/-1;padding-bottom:12px!important;border-bottom:1px solid #30353d!important}
  .order-history-clean .orders-data-table tbody td:nth-child(4){grid-column:1}
  .order-history-clean .orders-data-table tbody td:nth-child(5){grid-column:2}
  .order-history-clean .orders-data-table tbody td:last-child{grid-column:1/-1;padding-top:12px!important;border-top:1px solid #30353d!important}
  .order-history-clean .history-actions{justify-content:flex-start;gap:9px}
  .order-history-clean .history-date{white-space:normal}
}
@media(max-width:450px){
  .order-history-clean .clean-orders-tabs button{font-size:10px;padding:0 3px}
  .order-history-clean .clean-orders-tabs button span{min-width:18px;padding:0 4px}
  .order-history-clean .orders-data-table tbody tr{gap:10px;padding:13px}
  .order-history-clean .history-status-chip{white-space:normal;line-height:1.3}
  .order-history-clean .history-btn{flex:1 1 105px;justify-content:center}
}


/* FIX STORE V8.9.39 — claim dialog: quiet monochrome, native accessible product choices */
.modal-backdrop .claim-v39-modal{
 width:min(520px,calc(100vw - 28px)); max-width:520px;
 max-height:min(690px,calc(100dvh - 28px)); overflow:hidden;
 padding:0; display:flex; flex-direction:column; min-height:0;
 background:#141619; color:#f2f3f5; border:1px solid #393d44;
 border-radius:18px; box-shadow:0 28px 80px #000b;
}
.claim-v39-modal .claim-v39-header{
 padding:23px 26px 18px; display:flex; align-items:flex-start;justify-content:space-between;
 gap:18px; border-bottom:1px solid #2f333a; flex:none;
}
.claim-v39-heading{min-width:0}
.claim-v39-heading .claim-v39-eyebrow{display:block;color:#8f969f;font:700 10px var(--latin);letter-spacing:1.3px;margin-bottom:9px}
.claim-v39-heading h2{font-size:23px;color:#f4f5f7;line-height:1.25;letter-spacing:-.3px;margin:0;font-weight:800}
.claim-v39-heading p{font-size:12px;line-height:1.65;color:#9ca2ab;margin:7px 0 0}
.claim-v39-modal .claim-v39-close{display:grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid #3b414b;border-radius:9px;background:#21252a;color:#c4cad2;font-size:22px;line-height:1;cursor:pointer}
.claim-v39-modal .claim-v39-close:hover{background:#30353c;color:#fff}
.claim-v39-form{min-height:0;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#474c55 transparent;padding:22px 26px 0}
.claim-v39-section{margin-bottom:19px}
.claim-v39-section-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 11px;font-size:13px;font-weight:750;color:#e8eaee}
.claim-v39-section-label small{color:#858d98;font-size:11px;font-weight:500}
.claim-v39-options{display:grid;gap:8px;max-height:178px;overflow:auto;scrollbar-width:thin}
.claim-v39-modal .claim-v39-option{position:relative;display:flex;align-items:center;gap:13px;min-width:0;min-height:67px;padding:11px 13px;border:1px solid #373c45;border-radius:12px;background:#1b1e23;cursor:pointer;transition:background-color .16s,border-color .16s}
.claim-v39-modal .claim-v39-option:has(input:checked){background:#24282e;border-color:#848b95}
.claim-v39-modal .claim-v39-option:hover{border-color:#777d86}
.claim-v39-modal .claim-v39-option:focus-within{outline:2px solid #b6bdc7;outline-offset:2px}
.claim-v39-option input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none;left:12px;top:12px}
.claim-v39-option-art{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:9px;overflow:hidden;background:#12151a;border:1px solid #414650;color:#cbd0d8}
.claim-v39-option-art img{display:block;width:100%;height:100%;object-fit:cover}
.claim-v39-option-art svg{width:18px;height:18px}
.claim-v39-option-name{display:grid;gap:4px;min-width:0;flex:1}
.claim-v39-option-name strong{color:#ebedf1;font-size:13px;font-weight:750;line-height:1.35;overflow-wrap:anywhere}
.claim-v39-option-name small{font-size:11px;color:#929aa5}
.claim-v39-choice-mark{display:grid;place-items:center;flex:none;width:20px;height:20px;border:1px solid #606873;border-radius:50%;color:transparent;background:#17191d}
.claim-v39-option:has(input:checked) .claim-v39-choice-mark{background:#dee1e6;border-color:#dee1e6;color:#1c1e21}
.claim-v39-choice-mark svg{width:13px;height:13px}
.claim-v39-description-section{margin-bottom:0}
.claim-v39-form textarea{
 display:block;box-sizing:border-box;width:100%;height:144px;min-height:120px;max-height:240px;resize:vertical;
 padding:14px 15px;border:1px solid #424750;border-radius:11px;background:#0f1115;
 color:#f1f3f6;font:400 13px/1.7 var(--font);outline:none;box-shadow:none;transition:border-color .16s,box-shadow .16s;
}
.claim-v39-form textarea::placeholder{color:#79818d}
.claim-v39-form textarea:focus{border-color:#a3aab3;box-shadow:0 0 0 3px #e2e5eb14}
.claim-v39-help{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px;color:#858c96;font-size:10px;line-height:1.45}
.claim-v39-notice{font-size:11px;line-height:1.65;color:#9aa1ab;background:#1b1e23;border:1px solid #31353d;border-radius:10px;padding:11px 13px;margin:17px 0 18px}
.claim-v39-footer{position:sticky;bottom:0;z-index:1;display:flex;justify-content:flex-end;gap:10px;margin:0 -26px;padding:16px 26px 19px;background:#17191d;border-top:1px solid #30343b}
.claim-v39-btn{height:42px;min-width:99px;border:1px solid #3c4149;border-radius:10px;padding:0 16px;cursor:pointer;font:750 12px var(--font);transition:background-color .16s,border-color .16s;display:inline-flex;align-items:center;justify-content:center;gap:9px}
.claim-v39-btn svg{width:15px;height:15px}
.claim-v39-cancel{background:#24282e;color:#d9dde3}
.claim-v39-cancel:hover{background:#333840;border-color:#555b64}
.claim-v39-submit{background:#dedfe3;border-color:#dedfe3;color:#171a1e;min-width:160px}
.claim-v39-submit:hover{background:#fff;border-color:#fff}
.claim-v39-submit:disabled{opacity:.65;cursor:wait}
@media(max-width:600px){
 .modal-backdrop .claim-v39-modal{max-height:calc(100dvh - 24px);width:calc(100vw - 24px);border-radius:15px}
 .claim-v39-modal .claim-v39-header{padding:17px 17px 15px}
 .claim-v39-heading h2{font-size:20px}
 .claim-v39-form{padding:17px 17px 0}
 .claim-v39-section{margin-bottom:16px}
 .claim-v39-notice{margin:14px 0}
 .claim-v39-footer{margin:0 -17px;padding:12px 17px 16px}
 .claim-v39-btn{flex:1;min-width:0}
 .claim-v39-form textarea{font-size:16px;height:130px}
}
@media(prefers-reduced-motion:reduce){.claim-v39-modal *, .claim-v39-modal{transition:none!important;animation:none!important}}

/* FIX STORE V8.9.40 — claim replacement workflow and live customer statuses */
.claim-state-badge{
 display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:6px 10px;
 border:1px solid #8a5a23;border-radius:8px;background:#392819;color:#ffc17b;
 font-size:11px;font-weight:800;line-height:1.35;white-space:normal;
}
.claim-state-badge::before{content:"";width:7px;height:7px;flex:none;border-radius:50%;background:currentColor}
.claim-state-badge.reviewing{border-color:#927033;background:#342c19;color:#f5d69a}
.claim-state-badge.resolved{border-color:#3f6a50;background:#173124;color:#9ee8b2}
.claim-state-badge.rejected{border-color:#754049;background:#301d21;color:#efb2bd}
.history-product-claims{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:6px 0 0}
.history-product-claim{display:inline-flex;align-items:center;gap:6px;max-width:100%;font-size:11px;color:#a6afbb;overflow-wrap:anywhere}
.history-order-block-head .claim-state-badge{margin-top:8px}
.claim-repair-row{border:1px solid #343a45;border-radius:15px;background:#14171c;padding:18px}
.claim-repair-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.claim-repair-head>strong{font-size:15px;color:#f2f4f6}
.claim-repair-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.claim-repair-actions .mini-btn{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 12px}
.claim-repair-actions svg{width:15px;height:15px}
.claim-repair-actions .claim-edit-btn{color:#12161c;background:#dce1e8;border-color:#dce1e8;font-weight:800}
.claim-repair-actions .claim-edit-btn:hover{color:#111;background:#fff;border-color:#fff}
.claim-repair-actions .claim-status-select{width:auto;max-width:170px;min-height:36px;padding:8px 10px}
.modal-backdrop .claim-resolve-modal{
 width:min(600px,calc(100vw - 26px));max-height:calc(100dvh - 30px);
 border:1px solid #3a414a;border-radius:19px;background:#14171c;color:#e9edf2;
 padding:0;overflow:auto;box-shadow:0 30px 70px #000a;
}
.claim-resolve-header{padding:22px 23px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid #323842;background:#1a1e25}
.claim-resolve-header .eyebrow{color:#929daa;letter-spacing:1.2px;font-size:10px}
.claim-resolve-header h2{margin:6px 0;font-size:23px;line-height:1.3;color:#f4f6f8}
.claim-resolve-header p{font-size:12px;color:#a6afb9;margin:0;overflow-wrap:anywhere}
.claim-resolve-close{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:9px;background:#262c35;color:#dde2e8;border:1px solid #49505b;font-size:22px;cursor:pointer}
.claim-resolve-issue{padding:15px 23px;border-bottom:1px solid #2d333e;background:#171b21}
.claim-resolve-issue span{font-size:11px;color:#a2acb8;font-weight:700}
.claim-resolve-issue p{margin:7px 0 0;color:#e6eaf1;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.claim-resolve-form{padding:20px 23px 23px;display:grid;gap:18px}
.claim-resolve-modes{min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0;border:0;margin:0}
.claim-resolve-modes legend{font-size:13px;color:#f2f3f5;font-weight:800;margin-bottom:12px}
.claim-resolve-method{display:flex;align-items:flex-start;gap:10px;min-width:0;border-radius:13px;border:1px solid #3a424d;padding:14px 13px;background:#1b2028;cursor:pointer}
.claim-resolve-method:has(input:checked){border-color:#aab4c2;background:#262d37;box-shadow:inset 0 0 0 1px #aab4c230}
.claim-resolve-method:has(input:disabled){opacity:.45;cursor:not-allowed}
.claim-resolve-method input{margin-top:4px;accent-color:#e8ebf2;width:16px;height:16px;flex:none}
.claim-resolve-method strong{display:block;font-size:13px;color:#f0f3f8;margin-bottom:5px}
.claim-resolve-method small{font-size:11px;line-height:1.55;color:#a3adba;display:block}
.claim-resolve-manual{display:grid;gap:9px}
.claim-resolve-manual label{font-size:13px;font-weight:800;color:#f3f4f6}
.claim-resolve-manual textarea{min-height:135px;resize:vertical;border-color:#3e4652;border-radius:12px;background:#101318;color:#f7f9fc;font-size:13px;line-height:1.7}
.claim-resolve-manual textarea:focus{outline:0;border-color:#a8b4c4;box-shadow:0 0 0 3px #a8b4c420}
.claim-resolve-manual small,.claim-resolve-stock-note{color:#a4adb8;font-size:11px;line-height:1.7}
.claim-resolve-stock-note{border:1px solid #3c4756;background:#1d2530;border-radius:12px;padding:14px}
.claim-resolve-footer{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid #313842;padding-top:18px}
.claim-resolve-footer .btn{border-radius:11px;min-height:43px;white-space:normal;text-align:center}
.claim-resolve-submit{background:#e3e7ed;border-color:#e3e7ed;color:#121418}
.claim-resolve-submit:hover:not(:disabled){background:#fff;border-color:#fff;color:#111}
@media(max-width:700px){
 .claim-repair-row{padding:14px}
 .claim-repair-actions{width:100%;justify-content:flex-start}
 .claim-repair-actions .claim-edit-btn{flex:1;justify-content:center}
 .claim-resolve-modes{grid-template-columns:1fr}
 .claim-resolve-header,.claim-resolve-issue{padding-left:17px;padding-right:17px}
 .claim-resolve-form{padding:17px;gap:15px}
 .claim-resolve-footer{flex-direction:column-reverse}
 .claim-resolve-footer .btn{width:100%}
}

/* Honor hidden fields while switching claim replacement method */
.claim-resolve-manual[hidden],.claim-resolve-stock-note[hidden]{display:none!important}


/* V8.9.41 claim admin tabs and credit refund option */
.claim-filter-tabs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:16px 0 20px;padding-bottom:14px;border-bottom:1px solid #303640}
.claim-filter-tabs button{border:1px solid #3b424e;background:#151a20;color:#cbd2dc;border-radius:10px;min-height:40px;padding:0 15px;display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:700;cursor:pointer}
.claim-filter-tabs button.active{background:#dde1e6;color:#111419;border-color:#e4e7eb}
.claim-filter-tabs button span{display:inline-grid;place-items:center;min-width:24px;height:23px;padding:0 6px;border-radius:8px;background:#ffffff14;font-size:11px}
.claim-filter-tabs button.active span{background:#15191d12}
.claim-state-badge.refunded{color:#a9e3bf;background:#163025;border-color:#3c7857}
.claim-resolve-method.claim-refund-method:has(input:checked){border-color:#b7884a;background:linear-gradient(125deg,#382a19,#1f1a15)}
.claim-resolve-refund-note{margin:14px 0;padding:13px 15px;border:1px solid #8b683b;border-radius:12px;background:#2d2318;color:#f2cf97;font-size:12px;line-height:1.7}
.claim-resolve-refund-note[hidden]{display:none!important}
@media(max-width:600px){.claim-filter-tabs button{flex:1;justify-content:center;padding:0 10px;white-space:normal;line-height:1.4}}


/* V8.9.46 — ticker lowered another 10px and scrolling slightly slower, without hover pausing */
.home-v5 .hero-banner{margin-bottom:0!important}
.home-ticker{height:44px;display:flex;align-items:center;overflow:hidden;position:relative;margin:18px 0 28px;border-top:1px solid #1b2027;border-bottom:1px solid #343943;background:linear-gradient(180deg,#111418,#0b0d11);color:#d9dde5;mask-image:linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent)}
.home-ticker-track{display:flex;width:max-content;align-items:center;animation:homeTickerFlow 52s linear infinite;will-change:transform}
.home-ticker-set{display:flex;align-items:center;justify-content:space-around;gap:46px;min-width:max-content;padding:0 20px;flex:none}
.home-ticker-message{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;font-size:12px;letter-spacing:.05px;font-weight:650;text-decoration:none;color:inherit}
.home-ticker-message:hover{color:#fff}
.home-ticker-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#b7bdc8;box-shadow:0 0 0 3px #ffffff0e;flex:none}
@keyframes homeTickerFlow{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:760px){.home-ticker{height:39px;margin:15px 0 22px}.home-ticker-track{animation-duration:44s}.home-ticker-set{gap:32px;padding:0 16px}.home-ticker-message{font-size:11px}}
@media(prefers-reduced-motion:reduce){.home-ticker{overflow-x:auto;mask-image:none}.home-ticker-track{min-width:0;animation:none!important;will-change:auto}.home-ticker-set[aria-hidden=true]{display:none}}


/* V8.9.47 — Replace oversized category-page intro with compact category selector. */
.home-v5 .category-section-compact .category-breadcrumb{
  display:flex;align-items:center;gap:9px;margin:10px 0 16px;
  color:#8e96a1;font-size:12px;
}
.home-v5 .category-section-compact .category-header{
  display:flex;align-items:center;justify-content:space-between;
  gap:24px;margin:0 0 22px;
}
.home-v5 .category-section-compact .category-section-title{
  display:flex;align-items:center;flex:0 1 auto;gap:12px;
  flex-wrap:wrap;min-width:0;margin:0;
}
.home-v5 .category-section-compact .category-compact-title{
  margin:0;font-size:clamp(22px,2.15vw,29px);
  line-height:1.22;font-weight:800;letter-spacing:-.035em;
  color:#f4f5f8;
}
.home-v5 .category-section-compact .category-section-icon{
  flex:none;width:34px;height:34px;border-radius:9px;
}
.home-v5 .category-section-compact .category-section-count{
  font-size:12px;color:#a6aeb9;
}
.home-v5 .category-section-compact .category-search{
  margin-left:auto;flex:0 1 330px;max-width:340px;
}
@media(max-width:760px){
  .home-v5 .category-section-compact .category-breadcrumb{margin:6px 0 15px}
  .home-v5 .category-section-compact .category-header{
    display:flex;flex-direction:column;align-items:stretch;gap:14px;margin-bottom:18px;
  }
  .home-v5 .category-section-compact .category-section-title{gap:9px}
  .home-v5 .category-section-compact .category-compact-title{font-size:24px}
  .home-v5 .category-section-compact .category-search{
    margin:0;flex:auto;max-width:none;width:100%;
  }
}


/* FIX STORE V8.9.48 — optional product image gallery and admin editor */
.product-detail-v73 .product-presentation:has(.product-gallery-thumbs){overflow:visible}
.product-detail-v73 .product-presentation:has(.product-gallery-thumbs)::before{display:none}
.product-gallery-thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:13px;padding:0 0 2px}
.product-gallery-thumb{display:block;aspect-ratio:1/1;min-width:0;width:100%;padding:4px;border:1px solid #353c47;border-radius:12px;background:linear-gradient(155deg,#24282f,#111419);overflow:hidden;cursor:pointer;box-shadow:none;transition:border-color .18s,background .18s,transform .18s}
.product-gallery-thumb img{width:100%;height:100%;display:block;object-fit:contain;object-position:center;border-radius:8px;opacity:.7;transition:opacity .18s}
.product-gallery-thumb:hover{border-color:#747d8b;transform:translateY(-2px)}
.product-gallery-thumb:hover img,.product-gallery-thumb.is-active img{opacity:1}
.product-gallery-thumb.is-active{border-color:#d9dce2;box-shadow:0 0 0 1px #d9dce229;background:#30343c}
.product-gallery-thumb:focus-visible{outline:2px solid #f3f5f7;outline-offset:3px}
.product-gallery-editor{border:1px solid #343b45;border-radius:14px;padding:15px 17px;background:#151920}
.product-gallery-editor>summary{cursor:pointer;font-size:13px;font-weight:800;color:#f2f4f7;display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none}
.product-gallery-editor>summary::-webkit-details-marker{display:none}
.product-gallery-editor>summary::after{content:'+';font-size:20px;font-weight:500;color:#b6bdc8;line-height:1}
.product-gallery-editor[open]>summary::after{content:'−'}
.product-gallery-editor>summary span{margin-left:auto;font-size:11px;font-weight:500;color:#a5adba}
.product-gallery-hint{margin:12px 0 14px;color:#a7b0bd;font-size:11px;line-height:1.7}
.product-gallery-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.product-gallery-editor-grid label{min-width:0}
.product-gallery-editor-grid .input{min-width:0;max-width:100%;width:100%}
@media(max-width:760px){.product-gallery-thumbs{gap:7px;margin-top:10px}.product-gallery-thumb{padding:3px;border-radius:10px}.product-gallery-editor-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.product-gallery-thumb,.product-gallery-thumb img{transition:none!important;transform:none!important}}

/* FIX STORE 8.9.50 — same-account phone slip flow and customer-friendly copy */
.fx-desktop-slip-qr{display:none;max-width:420px;margin:4px auto 10px;text-align:center;gap:12px;flex-direction:column;align-items:center}
.fx-desktop-slip-qr h3{margin:0;font-size:19px;color:#f5f6fa}
.fx-desktop-slip-qr p,.fx-desktop-slip-qr small{color:#aab4c1;line-height:1.7;margin:0;font-size:12px}
.fx-phone-qr-paper{background:white;border-radius:14px;padding:13px;min-height:216px;min-width:216px;display:grid;place-items:center;color:#1d2730;box-shadow:0 8px 30px #0004}
.fx-phone-qr-paper canvas{width:216px;height:216px;display:block;image-rendering:pixelated}
.fx-phone-qr-actions button{border:1px solid #555f6c;border-radius:10px;background:#252e38;color:#f1f3f6;padding:11px 22px;cursor:pointer;font-weight:700}
.fx-phone-balance{border:1px solid #404955;background:#1c232b;border-radius:12px;padding:11px 17px;color:#e6ebf2;font-weight:700}
.fx-phone-slip-page{max-width:560px;margin:40px auto;padding:26px;background:#15191f;border:1px solid #343d48;border-radius:20px;color:#f5f6f8;line-height:1.65}
.fx-phone-slip-page h1{font-size:25px;margin:12px 0}
.fx-phone-slip-page p{color:#b6c1cd}
.fx-phone-slip-page .fx-topup-payment-amount{margin:22px 0}
.fx-phone-slip-page .fx-phone-slip-form{display:grid;gap:18px;margin-top:22px}
.fx-phone-slip-page .fx-phone-slip-form .wallet-upload-zone{display:flex;min-height:196px;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;border:1px dashed #6a7686;border-radius:14px;background:#222934;padding:16px;cursor:pointer}
.fx-phone-slip-page .wallet-file-native{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.fx-phone-slip-page .wallet-submit-payment{width:100%;min-height:50px}
.fx-phone-slip-page .fx-v89-slip-preview{max-height:180px;max-width:90%;object-fit:contain;border-radius:12px}
.fx-phone-slip-page .fx-v89-slip-preview[hidden]{display:none!important}
.fx-phone-slip-page .fx-desktop-slip-notice{display:none}
@media(min-width:768px){
 .fx-topup-backdrop #wallet-slip-form[data-wallet-step-panel="2"]:not([hidden]){display:flex;flex-direction:column;align-items:stretch}
 .fx-topup-backdrop #wallet-slip-form .fx-mobile-slip-only{display:none!important}
 .fx-topup-backdrop #wallet-slip-form .fx-desktop-slip-qr{display:flex}
 .fx-topup-backdrop #wallet-slip-form .fx-topup-bottom-actions button[type=submit]{display:none!important}
 .fx-phone-slip-page .fx-phone-slip-only{display:none!important}
 .fx-phone-slip-page .fx-desktop-slip-notice{display:block}
}
@media(max-width:767px){
 .fx-topup-backdrop #wallet-slip-form .fx-desktop-slip-qr{display:none!important}
 .fx-topup-backdrop #wallet-slip-form .fx-mobile-slip-only{display:flex}
 .fx-phone-slip-page{margin:22px 8px;padding:19px}
 .fx-topup-backdrop #wallet-slip-form .wallet-file-native{display:block;position:absolute;left:-10000px;width:1px;height:1px}
}

/* Never reveal the second payment step until the customer advances. */
.fx-topup-backdrop #wallet-slip-form[hidden]{display:none!important}

/* V8.9.51: explicit desktop fallback when guest-link API is not yet deployed */
@media(min-width:768px){
 #wallet-modal.fx-guest-link-fallback #wallet-slip-form .fx-desktop-slip-qr{display:flex!important}
 #wallet-modal.fx-guest-link-fallback #wallet-slip-form .fx-mobile-slip-only{display:flex!important}
 #wallet-modal.fx-guest-link-fallback #wallet-slip-form input.wallet-file-native{display:block!important;position:absolute;left:-9999px;width:1px;height:1px}
 #wallet-modal.fx-guest-link-fallback #wallet-slip-form button.wallet-submit-payment{display:flex!important}
}
.fx-qr-save-preview{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.87);display:grid;place-items:center;padding:22px}
.fx-qr-save-panel{width:min(380px,100%);position:relative;border-radius:18px;padding:22px;background:#161b24;color:#fff;text-align:center}
.fx-qr-save-panel button{position:absolute;right:10px;top:10px;border:0;color:#fff;background:transparent;font-size:24px;cursor:pointer}
.fx-qr-save-panel img{max-width:100%;width:265px;height:265px;object-fit:contain;border-radius:12px;background:white}
.fx-qr-save-panel h3{margin:7px 0}.fx-qr-save-panel p{color:#c3ccd9;font-size:13px}

/* V8.9.52 — keep the same signed-in UI throughout a reload. No guest flash. */
html.fx-auth-booting #account-link,
html.fx-auth-booting #register-shortcut,
html.fx-auth-booting #header-credit,
html.fx-auth-booting #mobile-account-link,
html.fx-auth-booting #mobile-menu-toggle {visibility:hidden!important;pointer-events:none!important}
html.fx-auth-booting #mobile-bottom-bar {pointer-events:none}

/* Desktop mobile-first upload: use phone QR only when API confirms it; otherwise
   show the existing authenticated desktop file uploader, never both at once. */
@media (min-width:768px) {
 #wallet-modal.fx-guest-link-loading #wallet-slip-form .fx-mobile-slip-only,
 #wallet-modal.fx-guest-link-ready #wallet-slip-form .fx-mobile-slip-only {display:none!important}
 #wallet-modal.fx-guest-link-fallback #wallet-slip-form .fx-desktop-slip-qr {display:none!important}
 #wallet-modal.fx-guest-link-fallback #wallet-slip-form .fx-mobile-slip-only {display:flex!important}
 #wallet-modal.fx-guest-link-fallback #wallet-slip-form input.wallet-file-native {display:block!important;position:absolute;left:-9999px;width:1px;height:1px}
 #wallet-modal.fx-guest-link-fallback #wallet-slip-form button.wallet-submit-payment {display:flex!important}
 #wallet-modal.fx-guest-link-fallback #wallet-slip-form .fx-pc-slip-fallback-note {display:block!important}
}
.fx-pc-slip-fallback-note[hidden]{display:none!important}
@media (min-width:768px) {
 #wallet-modal.fx-guest-link-fallback #wallet-slip-form .fx-pc-slip-fallback-note {margin:4px 0 12px;padding:12px 14px;border:1px solid #d7dce4;border-radius:10px;background:#f1f4f8;color:#303946;line-height:1.7;font-size:13px}
}

/* FIX STORE V8.9.56: hide the retired PC payment balance badge only. */
#wallet-modal #wallet-desktop-live-balance,
#wallet-modal .fx-phone-balance {display:none!important}

/* V8.9.57 — Premium app selector, conditional on the delivery method. */
#product-form .premium-app-field{display:flex;flex-direction:column;gap:7px;padding:13px 15px;border:1px solid #435069;border-radius:13px;background:linear-gradient(140deg,#1b2330,#131922);transition:border-color .18s ease,background-color .18s ease}
#product-form .premium-app-field[hidden]{display:none!important}
#product-form .premium-app-field .input{width:100%;min-height:46px}
#product-form .premium-app-field:focus-within{border-color:#94aed4;background:#192539}
.premium-app-order-chip{display:inline-block;margin-left:9px;padding:3px 9px;border:1px solid #44536a;border-radius:30px;color:#cbdcff;font-size:11px}
@media(max-width:600px){#product-form .premium-app-field{padding:12px}}


/* FIX STORE V8.9.58 — clean, consistent product details
   Remove the old sold-count / stock cube footer entirely at the template level.
   These rules cover store, home, and related-product sections. */
.fx-v8958-product.product-card{
  background:#11141a!important;
  border:1px solid #303640!important;
  border-radius:15px!important;
  box-shadow:0 5px 18px #0000002b!important;
  overflow:hidden!important;
  display:flex;flex-direction:column;height:100%;
  transition:border-color .25s ease,box-shadow .25s ease!important;
}
.fx-v89-product-grid .fx-v8958-product.product-card{
  background:#11141a!important;
  border:1px solid #303640!important;
  border-radius:15px!important;
  overflow:hidden!important;
  box-shadow:0 5px 18px #0000002b!important;
}
.fx-v8958-product.product-card:hover,
.fx-v89-product-grid .fx-v8958-product.product-card:hover{
  border-color:#56606e!important;
  box-shadow:0 13px 30px #0000004f!important;
  transform:none!important;
}
.fx-v8958-product.product-card .portrait-image-frame{
  width:100%!important;aspect-ratio:1/1!important;
  margin:0!important;border:0!important;
  border-radius:14px 14px 0 0!important;
  box-shadow:none!important;
}
.fx-v8958-product.product-card .portrait-image-frame:where(:hover,:focus-within){
  border:0!important;box-shadow:none!important;
}
.fx-v8958-product.product-card .product-art,
.fx-v8958-product.product-card .product-image-link{
  border-radius:14px 14px 0 0!important;
}
.fx-v8958-product.product-card .portrait-info{
  display:flex!important;flex:1;flex-direction:column;
  min-height:0!important;gap:0!important;
  padding:14px 13px 13px!important;
  background:linear-gradient(145deg,#151920 0%,#101317 100%)!important;
}
.fx-v8958-product .portrait-name-link{display:block;min-width:0;margin-bottom:13px;color:#e9edf3!important;text-decoration:none}
.fx-v8958-product .portrait-name-link:hover{color:#fff!important}
.fx-v8958-product .portrait-info h3{
  font-size:clamp(13px,1.1vw,15px)!important;
  font-weight:700!important;line-height:1.48!important;
  margin:0!important;min-height:43px!important;height:auto!important;
  letter-spacing:-.015em!important;
  overflow:hidden;display:-webkit-box;
  -webkit-box-orient:vertical;-webkit-line-clamp:2;
}
.fx-v8958-price-row{
  display:flex;align-items:center;justify-content:space-between;gap:7px;
  flex-wrap:wrap;min-height:28px;margin-top:auto;margin-bottom:13px;
}
.fx-v8958-price{font:800 clamp(18px,1.5vw,22px)/1.14 var(--latin)!important;color:#f6f7fa!important;letter-spacing:-.035em;white-space:nowrap}
.fx-v8958-stock{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:600;color:#b7c7be;white-space:nowrap}
.fx-v8958-stock::before{content:"";display:inline-block;width:5px;height:5px;flex:none;border-radius:50%;background:#8bb99c}
.fx-v8958-stock.is-out{color:#c3a2a8}
.fx-v8958-stock.is-out::before{background:#bc8a93}
.fx-v8958-product-cta{
  width:100%;min-height:37px;display:inline-flex;
  align-items:center;justify-content:center;gap:9px;
  padding:9px 12px;margin:0;
  border-radius:9px;border:1px solid #4a5461;
  color:#f1f4f7;background:#232a33;
  font:700 11px/1.2 var(--font);
  text-decoration:none;cursor:pointer;
  transition:background .18s ease,border-color .18s ease;
}
.fx-v8958-product-cta svg{width:14px;height:14px;flex:none}
.fx-v8958-product-cta:hover{background:#343f4d;border-color:#8290a0;color:#fff}
.fx-v8958-product-cta:focus-visible{outline:2px solid #d4dce5;outline-offset:3px}
.fx-v8958-product-cta.is-out{background:#1a1d24;color:#b2bcc9;border-color:#333b46}
.product-related .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.product-related .product-related-heading h2{font-size:19px;margin:0}
@media(max-width:1100px){.product-related .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
  .product-related .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}
  .fx-v8958-product.product-card .portrait-info{padding:11px 9px 10px!important}
  .fx-v8958-product .portrait-info h3{font-size:12px!important;min-height:36px!important}
  .fx-v8958-price-row{gap:4px;margin-bottom:10px}
  .fx-v8958-price{font-size:17px!important}
  .fx-v8958-stock{font-size:9px}
  .fx-v8958-product-cta{min-height:35px;font-size:10px}
  .product-related .product-related-heading h2{font-size:17px}
}
@media(prefers-reduced-motion:reduce){.fx-v8958-product.product-card,.fx-v8958-product-cta{transition:none!important}}

/* FIX STORE V8.9.59 — compact real sales count, sourced from orders via server-owned soldCount. */
.fx-v8959-sales{display:flex;align-items:center;gap:7px;margin:0 0 11px;min-height:17px;color:#9aa5b4;font:600 11px/1.35 var(--font);letter-spacing:.01em;white-space:normal}
.fx-v8959-sales strong{font:700 11px/1.35 var(--latin);color:#e9edf2;font-variant-numeric:tabular-nums}
.fx-v8959-sales-dot{display:inline-block;flex:0 0 5px;width:5px;height:5px;border-radius:50%;background:#8eaa9c}
.fx-v8959-sales-detail{margin:10px 0 15px;font-size:12px}
.fx-v8959-sales-detail strong{font-size:12px}
@media(max-width:760px){.fx-v8959-sales{font-size:10px;gap:6px;margin-bottom:9px}.fx-v8959-sales strong{font-size:10px}}

/* FIX STORE V8.9.60 — compact item details under title; consistent across screen sizes. */
.fx-v8958-product .portrait-name-link{margin-bottom:0!important}
.fx-v8960-card-description{
 color:#9da8b8!important; font:500 11px/1.45 var(--font);
 margin:5px 0 13px!important; min-height:32px; max-height:33px;
 overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
 overflow-wrap:anywhere; letter-spacing:.005em;
}
.fx-v8958-product .fx-v8958-price-row{margin-top:auto}
.fx-v8960-admin-sales{font-weight:700;color:#dbe6f3;white-space:nowrap}
.fx-v8960-order-sales-summary{display:flex;flex-wrap:wrap;gap:7px 20px;align-items:center;margin-bottom:13px;padding:13px 17px}
.fx-v8960-order-sales-summary strong{color:#edf3fa;font-size:15px}
.fx-v8960-order-sales-summary small{color:#a6b2c1;font-size:11px;line-height:1.55}
@media(max-width:760px){.fx-v8960-card-description{font-size:10px;min-height:30px;margin:4px 0 11px!important;max-height:30px}}


/* FIX STORE V8.9.62: product-card name/description spacing (desktop, tablet, mobile).
   Earlier card styles reserve 36–43px for every title; short titles no longer hold that empty space. */
.fx-v8958-product.product-card .portrait-info .portrait-name-link {
  display:block; margin:0 0 4px!important; line-height:normal;
}
.fx-v8958-product.product-card .portrait-info .portrait-name-link h3 {
  min-height:0!important; height:auto!important; margin:0!important;
  line-height:1.4!important;
}
.fx-v8958-product.product-card .portrait-info .fx-v8960-card-description {
  margin:0 0 12px!important; min-height:30px; max-height:34px;
  font-size:11px;line-height:1.45;
}
@media (max-width:760px) {
  .fx-v8958-product.product-card .portrait-info .portrait-name-link {margin-bottom:3px!important;}
  .fx-v8958-product.product-card .portrait-info .fx-v8960-card-description {
    margin-bottom:10px!important; min-height:28px; max-height:30px; font-size:10px;
  }
}


/* FIX STORE V8.9.63 — keep delivery mode out of the primary product editor.
   The original field remains usable inside a collapsed advanced section. */
.fx-admin-advanced-delivery{border:1px solid #333a45;border-radius:12px;background:#171b22;margin:3px 0 12px;overflow:hidden}
.fx-admin-advanced-delivery summary{cursor:pointer;list-style:none;padding:12px 14px;color:#b9c4d3;font:600 12px/1.5 var(--font);display:flex;align-items:center;justify-content:space-between;gap:12px}
.fx-admin-advanced-delivery summary::-webkit-details-marker{display:none}
.fx-admin-advanced-delivery summary:after{content:'+';font-size:17px;font-weight:500;line-height:1}
.fx-admin-advanced-delivery[open] summary:after{content:'−'}
.fx-admin-advanced-delivery[open] summary{border-bottom:1px solid #333a45}
.fx-admin-advanced-delivery-inner{padding:12px 14px 14px}
.fx-admin-advanced-delivery-inner label{display:block}

/* V8.9.65 SEO links: normal, visible storefront navigation */
.fx-seo-topic-nav,.fx-seo-store-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;line-height:1.6}
.fx-seo-topic-nav{margin:12px 0 6px}
.fx-seo-topic-nav a{padding:7px 12px;border:1px solid #343c48;border-radius:9px;color:#c5ceda;font-size:12px;text-decoration:none;background:#161a20}
.fx-seo-topic-nav a.active,.fx-seo-topic-nav a:hover{color:#fff;border-color:#7e899a;background:#222932}
.fx-seo-intro{font-size:12px;line-height:1.7;color:#a6b0bf;margin:8px 0 14px}
.fx-seo-store-links{justify-content:center;padding-top:10px;padding-bottom:18px;font-size:11px;color:#939eab}
.fx-seo-store-links a{color:#b1bdca;text-decoration:none}.fx-seo-store-links a:hover{text-decoration:underline;color:white}
@media(max-width:760px){.fx-seo-store-links{padding-bottom:82px}.fx-seo-topic-nav a{font-size:11px;padding:6px 9px}}

/* V8.9.67 subscription term and live expiration */
.fx-package-duration-field[hidden]{display:none!important}
.history-order-block-head>div{min-width:0}
.fx-package-expiry{display:grid;gap:3px;margin:7px 0 1px;padding:9px 11px;border:1px solid #394a47;border-radius:9px;background:#202a2a;color:#c9ded4;font-size:11px;line-height:1.45;overflow-wrap:anywhere;width:fit-content;max-width:100%}
.fx-package-expiry-date{color:#d4dedf;font-weight:600}.fx-package-expiry-count{font-size:13px;font-weight:750;color:#a5e0bd;font-variant-numeric:tabular-nums}.fx-package-expiry small{font-size:10px!important;color:#a3aeb0!important}.fx-package-expiry.is-expired{background:#2c2225;border-color:#65434b;color:#eab7ba}.fx-package-expiry.is-expired .fx-package-expiry-count{color:#edb2b6}.fx-package-set{margin-top:4px;max-width:100%;white-space:normal}
@media(max-width:600px){.fx-package-expiry{padding:7px 8px;font-size:10px}.fx-package-expiry-count{font-size:12px}.history-order-block-head{gap:8px}}


/* FIX STORE V8.9.69 — compact order detail, expiration directly under section title. */
.modal-backdrop .history-clean-modal .fx-order-item-head{display:flex;flex-direction:row;align-items:flex-start;gap:10px;margin-bottom:10px}
.modal-backdrop .history-clean-modal .fx-order-item-main{flex:1;min-width:0;display:grid;gap:7px}
.modal-backdrop .history-clean-modal .fx-order-item-name{margin:0;line-height:1.4;overflow-wrap:anywhere}
.modal-backdrop .history-clean-modal .fx-order-item-qty{flex:0 0 auto;align-self:flex-start;padding:6px 10px;font-size:11px}
.modal-backdrop .history-clean-modal .fx-order-item-main .claim-state-badge{margin:0;justify-self:start;white-space:normal}
.modal-backdrop .history-clean-modal .fx-order-item-main .fx-package-expiry{width:100%;max-width:none;box-sizing:border-box;margin:0;gap:4px;padding:11px 14px;border-radius:10px}
.modal-backdrop .history-clean-modal .fx-package-expiry-date{font-size:12px;line-height:1.5}
.modal-backdrop .history-clean-modal .fx-package-expiry-count{font-size:15px;line-height:1.35;overflow-wrap:anywhere}
.modal-backdrop .history-clean-modal .fx-package-expiry small{margin:0;line-height:1.4}
.modal-backdrop .history-clean-modal .history-order-block .history-code-panel{margin-top:8px}
@media(max-width:600px){
 .modal-backdrop .history-clean-modal .fx-order-item-head{gap:7px}
 .modal-backdrop .history-clean-modal .fx-order-item-main .fx-package-expiry{padding:9px 10px}
 .modal-backdrop .history-clean-modal .fx-package-expiry-date{font-size:11px}
 .modal-backdrop .history-clean-modal .fx-package-expiry-count{font-size:13px}
 .modal-backdrop .history-clean-modal .fx-order-item-qty{padding:5px 7px;font-size:10px}
}

/* Hide broken legacy image icons; preserve the existing card background. */
img[data-fx-image-broken]{visibility:hidden!important}
