:root{--bg:#080c17;--panel:#111a2b;--panel2:#141f32;--border:#42516a;--gold:#ffd77d;--gold2:#c48a2e;--text:#f8f6ef;--muted:#b4bdcc;--green:#39dba1;--blue:#4ba5ff;--pink:#f36ba9;--violet:#a67aff}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:radial-gradient(ellipse at 80% 0,#18243d 0,transparent 40%),#080c17;color:var(--text);font-family:Inter,"Segoe UI",Arial,sans-serif;line-height:1.5}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.shell{width:min(1180px,calc(100% - 40px));margin:0 auto} .site-glow{pointer-events:none;position:absolute;z-index:-1;border-radius:50%;filter:blur(100px)}.site-glow-one{width:300px;height:300px;background:#8d602522;top:200px;left:-180px}.site-glow-two{width:300px;height:400px;background:#2448a124;top:700px;right:0}.topbar{position:sticky;top:0;z-index:15;border-bottom:1px solid #ffffff17;background:#090e19ec;backdrop-filter:blur(18px)}.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:76px}.brand{display:inline-flex;align-items:center;gap:10px;font-weight:850;font-size:21px;letter-spacing:.7px;white-space:nowrap}.brand strong{color:var(--gold)}.brand-mark{display:grid;place-items:center;width:35px;height:35px;color:#12111a;background:linear-gradient(140deg,#fff5b3,#d79d30);transform:rotate(45deg);border-radius:8px;box-shadow:0 0 18px #ffcc7066;font-size:20px}.brand-mark::first-letter{transform:rotate(-45deg)}.nav-links{display:flex;align-items:center;gap:27px;color:#d8dbe2;font-size:14px}.nav-links a:hover{color:var(--gold)}.nav-action{font-size:14px;font-weight:800;color:#17110b;background:linear-gradient(105deg,#e2ac4c,#ffe4a2,#d39c38);border-radius:11px;padding:11px 17px;white-space:nowrap}.nav-action span{margin-left:6px}.hero{display:grid;grid-template-columns:.92fr 1.08fr;gap:24px;align-items:center;min-height:660px;padding-top:55px;padding-bottom:65px}.eyebrow,.section-kicker{color:var(--gold);font-size:12px;letter-spacing:2px;font-weight:900}.eyebrow{display:flex;gap:11px;align-items:center;flex-wrap:wrap}.pulse-dot,.status-light{background:#39da9b;display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;box-shadow:0 0 13px #29f9ab}.pill-small{font-size:9px;letter-spacing:1px;background:#f4c86f24;border:1px solid #c99b4785;padding:4px 7px;border-radius:5px}.hero h1{font-size:clamp(39px,4.25vw,66px);line-height:1.09;letter-spacing:-1.7px;margin:24px 0 22px;font-weight:1000;text-shadow:0 9px 28px #0007}.hero h1 span{color:var(--gold);text-shadow:0 0 45px #e9a43d5c}.hero-description{max-width:520px;font-size:16px;line-height:1.84;color:#bdc6d4;margin:0 0 30px}.hero-description strong{color:white}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;justify-content:center;align-items:center;gap:12px;border-radius:12px;padding:12px 20px;border:1px solid transparent;font-weight:800;font-size:14px;min-height:48px;transition:transform .15s ease,filter .15s ease}.btn:hover{transform:translateY(-2px);filter:brightness(1.12)}.btn:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #77c8ff;outline-offset:3px}.btn-gold{color:#24180b;background:linear-gradient(118deg,#bd832d,#ffe7a2 48%,#e3a83d);box-shadow:0 8px 25px #dba1372b}.btn-outline{border:1px solid #ceae6d8c;background:#ffffff09;color:#ffe6ac}.btn-subtle{background:#26364b;color:#d9e0e9;border:1px solid #4a5b73}.hero-foot{margin-top:27px;font-size:12px;color:#aeb9c7;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.tiny-tick{color:#6beaab;font-weight:900}.hero-visual{position:relative;min-height:470px;padding:30px 25px;overflow:hidden;border-radius:27px;border:1px solid #dab26972;background:radial-gradient(ellipse at 50% 18%,#99702a33,transparent 42%),linear-gradient(150deg,#161d2c,#0b1323 75%);box-shadow:inset 0 0 90px #ab772c12,0 30px 90px #0008}.hero-visual:after{content:"";position:absolute;inset:12px;border:1px solid #ad8c452a;border-radius:19px;pointer-events:none}.orb{position:absolute;pointer-events:none;border-radius:50%;filter:blur(37px)}.orb-a{height:130px;width:130px;top:90px;right:40px;background:#c4883230}.orb-b{height:90px;width:110px;bottom:50px;left:70px;background:#276beb33}.visual-tag{position:absolute;top:21px;left:25px;font-size:11px;letter-spacing:1.8px;color:#b9c3d3}.visual-tag strong{color:#f8d486;margin-left:5px}.visual-head{position:relative;z-index:2;width:138px;height:138px;margin:67px auto 0;border-radius:50%;border:4px solid #fbd377;box-shadow:0 0 0 9px #ad751f26,0 0 30px #f7ae4677,inset 0 0 35px #f5a93935;background:linear-gradient(150deg,#4b3b28,#111a2c);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:27px;font-weight:1000;color:#ffdfa1}.avatar-icon{font-size:42px;line-height:1.1}.hero-lines{position:absolute;top:195px;left:5%;width:90%;height:185px}.visual-nodes{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:123px}.visual-node{display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid var(--accent);background:#111f33;border-radius:22px;min-height:115px;box-shadow:0 0 25px var(--shine),inset 0 0 16px var(--shine)}.visual-node .number{background:var(--accent);color:#10131a;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:16px;font-weight:1000;margin-top:-12px;margin-bottom:9px}.visual-node strong{font-size:23px;line-height:1.1}.visual-node small{font-size:10px;color:#e7e9f0;font-weight:800;letter-spacing:.4px}.blue{--accent:#48a1ff;--shine:#3b96fa45}.green{--accent:#34dca2;--shine:#3ad6aa40}.violet{--accent:#a37bff;--shine:#9758ed45}.pink{--accent:#ee72ad;--shine:#f657aa40}.visual-caption{position:relative;color:#e7c179;letter-spacing:1.6px;font-size:11px;text-align:center;margin-top:21px;font-weight:800}.stat-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #b58a484d;background:linear-gradient(120deg,#161e2e,#121a29);border-radius:20px;overflow:hidden}.stat-strip>div{display:grid;gap:3px;padding:21px 23px;border-right:1px solid #b58a482e}.stat-strip>div:last-child{border:none}.stat-strip span{font-size:11px;font-weight:900;color:#bf9956}.stat-strip strong{font-size:23px}.stat-strip small{font-size:12px;color:#a7b5c7}.section{padding-top:88px}.section-header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px}.section-header h2{font-size:clamp(26px,3vw,40px);line-height:1.2;letter-spacing:-.7px;margin:10px 0}.section-header p{color:#aebacc;margin:6px 0;max-width:750px}.corner-badge{border:1px solid #bc9148;border-radius:14px;padding:12px 18px;font-size:25px;color:var(--gold);font-weight:1000}.card{border:1px solid #56617a7c;background:linear-gradient(145deg,#192337,#0f1829);border-radius:21px;box-shadow:0 16px 48px #0003}.matrix-demo{padding:26px}.matrix-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#d5dce6;font-weight:750}.matrix-topline>div{display:flex;align-items:center;gap:8px}.matrix-topline>span{font-size:11px;color:var(--gold);letter-spacing:1px}.diagram-area{margin:24px auto 25px;max-width:790px}.diagram-you{margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;width:150px;height:130px;border:2px solid #f2c56b;border-radius:18px;background:linear-gradient(145deg,#624c26,#242433);box-shadow:0 0 28px #ecc3672d}.person-symbol{font-size:31px;color:#ffe5ad;line-height:1}.diagram-you strong{font-size:23px;line-height:1.2}.diagram-you small{font-size:11px;color:#ffdaa0}.diagram-connector{height:100px;width:75%;max-width:620px;margin:0 auto;position:relative}.diagram-connector .vertical{position:absolute;width:2px;height:52px;left:50%;top:0;background:#e9b969}.diagram-connector .horizontal{position:absolute;width:75%;height:2px;background:#e9b969;left:12.5%;top:52px}.four-down{position:absolute;left:12.5%;top:52px;width:75%;height:45px;display:flex;justify-content:space-between}.four-down i{width:2px;height:45px;background:#e9b969}.seat-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.seat{position:relative;min-height:168px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:2px solid var(--accent);border-radius:17px;background:radial-gradient(circle at 50% 20%,var(--shine),transparent 75%),#151e30;box-shadow:inset 0 0 30px var(--shine);transition:.2s}.seat.filled{background:radial-gradient(circle at 50% 18%,var(--shine),transparent 85%),#24344c;box-shadow:inset 0 0 50px var(--shine),0 0 22px var(--shine)}.seat-index{position:absolute;left:13px;top:8px;color:var(--accent);font-weight:900;font-size:12px}.seat-face{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;border:2px solid var(--accent);font-size:28px;color:var(--accent);background:#ffffff0e;margin:5px 0 11px}.seat.filled .seat-face{background:var(--accent);color:#10131a}.seat-person{font-size:13px;text-align:center}.seat small{font-size:11px;margin-top:5px;color:#d2dce9;font-weight:850}.demo-controls{padding-top:22px;display:flex;align-items:end;justify-content:space-between;gap:24px;border-top:1px solid #ffffff1f}.demo-progress{width:min(340px,100%)}.demo-progress>span{font-size:12px;color:#b7c2cf}.demo-progress>strong{float:right;font-size:14px}.progress-track{height:8px;border-radius:12px;background:#28364e;margin-top:13px;overflow:hidden}.progress-track>span{height:100%;width:0;display:block;background:linear-gradient(90deg,#a3792c,#ffe59c);transition:width .25s}.control-actions{display:flex;gap:10px;flex-wrap:wrap}.demo-notice{margin-top:17px;border-radius:10px;padding:13px 15px;background:#24334a;color:#d5deed;font-size:13px}.demo-notice.done{background:#6a482332;border:1px solid #c39b4a68;color:#ffe6b9}.dashboard-grid{display:grid;grid-template-columns:1.1fr 1.1fr .8fr;gap:18px}.dashboard-grid .card{padding:24px;min-width:0}.card-label{font-size:11px;letter-spacing:1px;font-weight:900;color:#ffdb8e}.profile-line{display:flex;gap:15px;align-items:center;margin:27px 0}.user-medal{display:grid;place-items:center;border-radius:16px;background:linear-gradient(160deg,#f9df9b,#996b2c);color:#1d160e;width:59px;height:59px;font-size:35px}.profile-line strong,.profile-line small{display:block}.profile-line strong{font-size:19px}.profile-line small{font-size:12px;color:#aebacc}.input-label{font-size:12px;color:#c9d2df;display:block;margin:0 0 7px}.input-row{display:flex;gap:8px}.input-row input{background:#07101e;border:1px solid #566780;border-radius:10px;color:white;min-width:0;width:100%;padding:12px 13px;font-size:14px}.input-row .btn{padding:10px 14px}.explain-text{font-size:11px;color:#9eabba;margin-top:13px;line-height:1.65}.invite-card h3{margin:22px 0 8px;font-size:24px}.invite-card p{color:#aebaca;font-size:13px;line-height:1.65}.referral-box{background:#08111f;border:1px dashed #af8a4a;border-radius:10px;padding:13px;margin:16px 0;color:#f7d9a0;font-size:12px;overflow-wrap:anywhere}.full-btn{width:100%}.big-number{font-weight:950;font-size:56px;margin:25px 0 0;color:#ffe29c;line-height:1}.big-number small{font-size:22px;color:#acb8c9}.stat-caption{font-size:12px;color:#b0bccc;margin-top:5px}.horizontal-rule{height:1px;background:#ffffff24;margin:24px 0}.small-stat{display:flex;justify-content:space-between;gap:10px;margin:13px 0;font-size:12px}.small-stat span{color:#aebaca}.small-stat strong{text-align:right}.rules-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.rule-card{padding:24px;background:#111a2c;border:1px solid #39475e;border-radius:17px}.rule-icon{color:#eac47a;font-size:24px;font-weight:1000}.rule-card h3{font-size:19px;margin:17px 0 8px}.rule-card p{margin:0;color:#adbacc;line-height:1.75;font-size:14px}.reference-section{display:grid;grid-template-columns:1fr 270px;gap:35px;margin-top:24px;align-items:center;padding:25px}.reference-section h3{font-size:27px;margin:10px 0}.reference-section p{color:#b7c2d1;font-size:14px}.reference-section .caution{font-size:12px;line-height:1.7;padding:13px 16px;border-left:3px solid #e2b05c;background:#ddaf6211;color:#ffe3ac;margin-top:18px}.reference-section img{width:100%;border-radius:12px;border:1px solid #bc9054;box-shadow:0 12px 30px #0008}.footer{border-top:1px solid #fff2;margin-top:90px;background:#0b101b}.footer-inner{display:flex;justify-content:space-between;align-items:center;padding:35px 0;color:#9daabc;gap:25px}.footer .brand{font-size:17px;color:#fff}.footer p{font-size:12px}.footer-inner>span{font-size:11px;letter-spacing:1px}.toast{position:fixed;right:22px;bottom:22px;padding:12px 18px;border-radius:10px;background:#1f493b;color:#eaffee;box-shadow:0 12px 30px #0007;z-index:30;max-width:340px;opacity:0;transform:translateY(20px);pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1020px){.nav-links{gap:15px}.hero{grid-template-columns:1fr 1fr;gap:14px}.hero h1{font-size:45px}.dashboard-grid{grid-template-columns:1fr 1fr}.dashboard-stats{grid-column:1/-1}.visual-node{min-height:105px}.visual-node strong{font-size:20px}.visual-node small{font-size:9px}}
@media(max-width:760px){.shell{width:min(100% - 28px,600px)}.nav-inner{min-height:65px;flex-wrap:wrap;padding:13px 0}.brand{font-size:18px}.nav-links{order:3;width:100%;justify-content:space-between;font-size:12px;gap:8px}.nav-action{font-size:12px;padding:9px 12px}.hero{grid-template-columns:1fr;padding:40px 0 35px;min-height:unset}.hero h1{font-size:clamp(39px,8vw,54px)}.hero-description{font-size:14px}.hero-visual{min-height:420px}.visual-head{margin-top:55px;width:120px;height:120px}.hero-lines{top:177px}.visual-nodes{margin-top:120px}.stat-strip{grid-template-columns:repeat(2,1fr)}.stat-strip>div{border-bottom:1px solid #b58a482e}.stat-strip>div:nth-child(2){border-right:0}.stat-strip>div:nth-child(n+3){border-bottom:0}.section{padding-top:63px}.matrix-demo{padding:16px}.seat-list{gap:8px}.seat{min-height:138px;border-radius:12px}.seat-face{width:39px;height:39px;font-size:23px}.seat-person{font-size:11px}.seat small{font-size:9px;text-align:center}.diagram-connector{height:80px}.diagram-connector .vertical{height:35px}.diagram-connector .horizontal{top:35px}.four-down{top:35px}.diagram-connector .four-down i{height:40px}.diagram-you{width:125px;height:112px}.diagram-area{margin-top:30px}.demo-controls{align-items:stretch;flex-direction:column}.demo-progress{width:100%}.control-actions{justify-content:stretch}.control-actions .btn{flex:1}.dashboard-grid{grid-template-columns:1fr}.dashboard-stats{grid-column:auto}.rules-grid{grid-template-columns:1fr}.reference-section{grid-template-columns:1fr}.reference-section img{width:min(300px,100%);justify-self:center}.footer-inner{align-items:flex-start;flex-direction:column}.section-header h2{font-size:27px}}
@media(max-width:420px){.nav-action{padding:9px;font-size:11px}.hero-visual{padding:20px 9px;min-height:365px}.visual-tag{top:15px;left:16px}.visual-head{width:98px;height:98px;margin-top:44px;font-size:23px}.avatar-icon{font-size:29px}.hero-lines{top:145px;height:165px}.visual-nodes{margin-top:109px;gap:5px}.visual-node{min-height:93px;border-radius:13px}.visual-node .number{width:24px;height:24px;font-size:13px;margin-bottom:7px}.visual-node strong{font-size:18px}.visual-node small{font-size:7px}.visual-caption{font-size:9px}.matrix-topline{font-size:11px}.matrix-topline>span{font-size:9px}.seat-list{gap:5px}.seat{min-height:121px}.seat-index{left:5px;top:6px;font-size:10px}.seat-face{width:32px;height:32px;font-size:17px}.seat-person{font-size:10px}.seat small{font-size:8px}.control-actions .btn{font-size:12px;padding:10px 7px}.stat-strip>div{padding:17px}.stat-strip strong{font-size:21px}}

/* Демонстрациялық есеп 10 000 ₸ */
.finance-card{padding:25px}.finance-intro{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px}.finance-intro>div{padding:13px 17px;border:1px solid #856c456d;border-radius:11px;background:#edbe4f0b;display:flex;flex-direction:column;gap:5px}.finance-intro span{font-size:11px;letter-spacing:.7px;color:#bec8d7;font-weight:800}.finance-intro strong{font-size:clamp(17px,2vw,24px);color:#ffe0a4}.finance-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.finance-tile{background:linear-gradient(140deg,#1b2d42,#111c2b);border:1px solid #4c658177;padding:17px;border-radius:12px;display:flex;flex-direction:column;gap:12px}.finance-tile small{font-size:12px;line-height:1.45;color:#c5d2e0;min-height:36px}.finance-tile strong{color:#ffe1a5;font-size:clamp(18px,2vw,25px);font-variant-numeric:tabular-nums}.finance-table-wrap{overflow-x:auto;margin-top:25px}.finance-table{width:100%;min-width:650px;border-collapse:collapse;text-align:left;font-size:13px}.finance-table th{padding:14px 11px;background:#33435c;color:#fff2cf;white-space:nowrap}.finance-table td{padding:12px 11px;border-bottom:1px solid #d9dfeb26;white-space:nowrap}.finance-row-inactive{color:#72849c}.finance-row-inactive td:not(:first-child){opacity:.5}.finance-note,.finance-legal{line-height:1.65;font-size:13px;color:#c3cfdd;margin:20px 0 0}.finance-legal{padding:15px 17px;background:#ad6b2814;border-left:3px solid #ffd181;border-radius:6px}.finance-legal a{color:#ffe199;text-decoration:underline}
@media(max-width:800px){.finance-grid{grid-template-columns:repeat(2,1fr)}.finance-intro{grid-template-columns:1fr 1fr}.finance-intro>div:last-child{grid-column:1/-1}}
@media(max-width:460px){.finance-card{padding:15px}.finance-grid{gap:8px}.finance-tile{padding:12px}.finance-tile strong{font-size:17px}.finance-intro{gap:8px}.finance-intro>div{padding:10px}.finance-intro strong{font-size:19px}}

/* 4×1 actual retail-sales illustration */
.hero h1{line-height:1.08}.hero-visual .visual-node strong{font-size:clamp(13px,1.75vw,21px)}.hero-visual .visual-node small{font-size:9px}.parameters{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0 22px}.parameters label{display:flex;flex-direction:column;gap:9px;padding:12px;border:1px solid #6a6571;border-radius:11px;background:#141f2f;color:#cad5e6;font-size:12px}.parameters input{color:#fff2ce;font-weight:800;font-size:18px;padding:10px 12px;width:100%;border:1px solid #786c4c;border-radius:9px;background:#0b1221}.demo-notice.warning{background:#63311a40;color:#ffe0b6;border:1px solid #ef8c4f}.compliance-mark{border:1px solid #cda05d80;box-shadow:inset 0 0 80px #d9ab3c19;min-height:210px;border-radius:24px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#f9d792}.compliance-mark span{font-size:64px}.compliance-mark strong{font-size:24px;letter-spacing:2px}.compliance-mark small{font-size:10px}.hero-foot{flex-wrap:wrap}.stat-strip strong{white-space:normal}@media(max-width:800px){.parameters{grid-template-columns:1fr}}@media(max-width:420px){.hero h1{font-size:35px}.hero-visual .visual-node strong{font-size:12px}.hero-visual .visual-node small{font-size:7px}.stat-strip strong{font-size:19px}}


/* Independent second part: storefront */
.nav-links a[aria-current=page]{color:#ffdf94;font-weight:850}.store-promo{display:grid;grid-template-columns:104px minmax(0,1fr) auto;align-items:center;gap:22px;padding:27px}.store-promo-symbol{font-size:58px;display:grid;place-items:center;border-radius:20px;background:#e6b75d13;border:1px solid #d7a44d55;height:104px}.store-promo h3{font-size:27px;margin:7px 0}.store-promo p{color:#bccada;margin:0;max-width:650px}.shop-hero{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:20px;padding-top:72px;padding-bottom:60px;min-height:420px}.shop-hero h1{font-size:clamp(38px,4.8vw,62px);line-height:1.1;letter-spacing:-1px;margin:22px 0}.shop-hero h1 span{color:#ffda81}.shop-hero p{color:#b9c8d7;font-size:16px;max-width:600px;line-height:1.8}.shop-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.shop-hero-deco{height:340px;border:1px solid #c7a15c6b;border-radius:30px;background:radial-gradient(circle at center,#e5a94433 0,transparent 42%),linear-gradient(135deg,#1f2b42,#111b2b);position:relative;display:grid;place-items:center;overflow:hidden;box-shadow:inset 0 0 70px #eab0410c}.deco-ring{height:200px;width:200px;display:grid;place-items:center;border:3px solid #ecc370;border-radius:50%;font-size:91px;box-shadow:0 0 40px #e9ad4f32,inset 0 0 60px #bd7d2835;position:relative;z-index:2}.deco-ring:before{content:"";position:absolute;inset:-28px;border:1px solid #d5a96b6d;border-radius:50%}.decotag{position:absolute;font-size:11px;font-weight:900;letter-spacing:1.3px;padding:10px 14px;border-radius:10px;background:#242f46;border:1px solid #ecc98055;color:#ffe0a1;box-shadow:0 8px 18px #0005}.tag-a{left:7%;top:18%}.tag-b{right:4%;top:32%}.tag-c{left:10%;bottom:17%}.shop-disclaimer{border-radius:13px;padding:15px 18px;border-left:3px solid #e5ba74;background:#af783c19;color:#d6c9af;font-size:13px}.shop-disclaimer strong{color:#fff1cc}.store-section{padding-top:68px}.shop-result-num{color:#ffdfac;border:1px solid #a58049a8;border-radius:12px;padding:10px 14px;white-space:nowrap}.shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0 25px;flex-wrap:wrap}.shop-search-wrap{position:relative;flex:1;min-width:230px;max-width:330px}.shop-search-wrap span{position:absolute;left:15px;top:7px;font-size:28px;color:#f2d292}.shop-search-wrap input{width:100%;padding:14px 15px 14px 44px;border-radius:12px;border:1px solid #666c7c;background:#182337;color:#f1f5fa;outline-offset:3px}.shop-categories{display:flex;gap:8px;flex-wrap:wrap}.category-chip{background:#1a2940;border:1px solid #4a5872;border-radius:22px;color:#d6e0ea;font-weight:700;padding:9px 13px;font-size:12px;transition:.15s}.category-chip.active{color:#2e1907;background:linear-gradient(120deg,#e2aa4d,#ffe0a3);border-color:#f6d487}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{overflow:hidden;background:linear-gradient(135deg,#172337,#101a2b);border:1px solid #495771a6;border-radius:20px;box-shadow:0 15px 30px #0004;display:flex;flex-direction:column}.product-art{height:196px;position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 40%,#fbd99044,transparent 42%),linear-gradient(135deg,#3b3141,#141b33)}.product-art.tea,.cart-item-icon.tea{background:radial-gradient(circle at 50% 40%,#cbd96350,transparent 65%),linear-gradient(135deg,#255548,#173238)}.product-art.care,.cart-item-icon.care{background:radial-gradient(circle at 50% 40%,#f3a8ba48,transparent 65%),linear-gradient(135deg,#61374e,#29213a)}.product-art.home,.cart-item-icon.home{background:radial-gradient(circle at 50% 40%,#8ecbff50,transparent 65%),linear-gradient(135deg,#283c67,#17253e)}.product-art.wear,.cart-item-icon.wear{background:radial-gradient(circle at 50% 40%,#a7d0fd44,transparent 65%),linear-gradient(135deg,#2c4974,#151e36)}.product-art.access,.cart-item-icon.access{background:radial-gradient(circle at 50% 40%,#ffda9360,transparent 65%),linear-gradient(135deg,#68402f,#392730)}.product-emoji{font-size:88px;filter:drop-shadow(0 12px 15px #0005)}.product-tag{position:absolute;left:13px;top:13px;border:1px solid #dbb5689f;border-radius:7px;background:#0f1829da;color:#ffe3a6;padding:7px 10px;font-size:11px;font-weight:800}.product-body{padding:20px;display:flex;flex:1;flex-direction:column}.product-category{font-size:11px;color:#ffda8c;text-transform:uppercase;font-weight:850;letter-spacing:1px}.product-body h3{font-size:21px;margin:7px 0}.product-body p{font-size:12px;color:#b4c1d1;line-height:1.6;margin:0 0 16px;flex:1}.product-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.product-bottom strong{font-size:21px;color:#ffe0a3;white-space:nowrap}.product-button{font-size:12px;white-space:nowrap;padding:10px 12px;min-height:39px}.shop-empty{border:1px dashed #b8a174;border-radius:14px;padding:35px;text-align:center;color:#dee3ec}.cart-count{background:#141a25;border-radius:12px;padding:4px 8px;color:#ffe2a3;margin-left:6px}.shop-overlay[hidden]{display:none!important}.shop-overlay{position:fixed;inset:0;z-index:50}.shop-overlay-backdrop{position:absolute;inset:0;background:#020712b0}.cart-panel{position:absolute;top:0;right:0;height:100%;width:min(450px,100%);background:#111c2d;border-left:1px solid #987d52;display:flex;flex-direction:column;padding:24px;box-shadow:-20px 0 50px #0008}.cart-head{display:flex;justify-content:space-between;gap:12px;align-items:start;border-bottom:1px solid #ffffff22;padding-bottom:15px}.cart-head h2{font-size:23px;margin:5px 0 0}.close-cart{border:1px solid #657188;color:#fff;background:#27354b;border-radius:9px;padding:8px 12px}.cart-items{flex:1;min-height:0;overflow:auto;padding:14px 0}.cart-empty{padding:28px;border:1px dashed #69738a;border-radius:14px;color:#bdc8d8;text-align:center}.cart-item{padding:14px 0;border-bottom:1px solid #ffffff25;display:flex;gap:13px;align-items:start}.cart-item-icon{flex:none;border-radius:13px;width:70px;height:70px;display:grid;place-items:center;font-size:35px}.cart-item-info{display:flex;flex-direction:column;gap:5px}.cart-item-info strong{font-size:14px}.cart-item-info>span{color:#ffdb91}.qty-controls{display:flex;align-items:center;gap:12px;font-size:13px}.qty-controls button{color:#fff;background:#30415a;border:1px solid #5b6980;border-radius:7px;padding:2px 9px;font-size:18px}.cart-bottom{border-top:1px solid #ffffff33;padding-top:18px}.cart-total{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.cart-total strong{font-size:23px;color:#ffe2a1}.cart-note{font-size:11px;color:#b5c2d0;line-height:1.5;margin-bottom:12px}.cart-bottom .btn{margin-top:8px}.cart-open{overflow:hidden}
@media(max-width:930px){.store-promo{grid-template-columns:85px 1fr}.store-promo>a{grid-column:1/-1;justify-self:start}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-hero{grid-template-columns:1.2fr .8fr}.shop-hero-deco{height:285px}.deco-ring{width:150px;height:150px;font-size:60px}}
@media(max-width:680px){.store-promo{grid-template-columns:1fr}.store-promo-symbol{width:95px;height:95px}.store-promo>a{grid-column:auto}.shop-hero{grid-template-columns:1fr;padding-top:55px;padding-bottom:35px}.shop-hero-deco{height:225px}.shop-toolbar{align-items:stretch;flex-direction:column}.shop-search-wrap{max-width:none;width:100%}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-art{height:155px}.product-emoji{font-size:65px}.product-body{padding:12px}.product-body h3{font-size:16px}.product-body p{font-size:11px}.product-bottom{align-items:stretch;flex-direction:column}.product-bottom strong{font-size:19px}.product-button{width:100%}.shop-categories{gap:6px}.category-chip{font-size:11px;padding:9px}.shop-hero h1{font-size:40px}.shop-result-num{font-size:12px}}
@media(max-width:380px){.product-grid{grid-template-columns:1fr 1fr}.product-art{height:125px}.product-emoji{font-size:51px}.product-body h3{font-size:14px}.product-bottom strong{font-size:16px}.product-tag{font-size:9px;padding:5px}.shop-hero h1{font-size:33px}.cart-panel{padding:15px}}

/* Version 3 — actual server-side phone/password registration */
.auth-toplinks{display:flex;gap:18px;align-items:center;font-size:13px;color:#d9e0e9}.auth-toplinks a:hover{color:#ffdf9b}
.auth-layout{display:grid;grid-template-columns:minmax(330px,510px) 1fr;gap:40px;align-items:center;min-height:calc(100vh - 90px);padding-top:58px;padding-bottom:70px}
.auth-card{padding:34px 38px;max-width:510px;width:100%;border-color:#c69c5469;box-shadow:0 25px 85px #0006}
.auth-icon{height:66px;width:66px;display:grid;place-items:center;background:linear-gradient(150deg,#332a22,#795c28);border:2px solid #f6ce72;border-radius:19px;box-shadow:0 0 32px #f6c46b46;color:#f7dc99;font-size:36px;margin:0 0 22px}
.auth-eyebrow{letter-spacing:1.2px}.auth-card h1{font-size:clamp(28px,3vw,39px);line-height:1.2;margin:9px 0}.auth-lead{color:#b6c2d2;font-size:14px;line-height:1.7;margin:0 0 24px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;border:1px solid #5a6782;border-radius:12px;overflow:hidden;background:#0d182b;margin-bottom:24px}
.auth-tabs a{text-align:center;color:#abb7cb;padding:12px 4px;font-weight:850;font-size:14px}.auth-tabs a.active{background:linear-gradient(120deg,#ba852e,#ffe3a5);color:#271707}
.auth-form{display:flex;flex-direction:column;gap:10px}.auth-form>label{font-size:13px;color:#e7e8ea;font-weight:750;margin-top:6px}
.auth-form input{width:100%;min-height:52px;border-radius:11px;border:1px solid #69738a;padding:14px 15px;background:#0b1526;color:#f6f8fb;font-size:16px;outline-offset:2px}
.auth-form input:focus{border-color:#e7bf72;box-shadow:0 0 0 3px #ffda7720;outline:none}
.password-row{position:relative}.password-row input{padding-right:97px}.password-toggle{position:absolute;right:6px;top:6px;bottom:6px;border:none;border-radius:8px;background:#28354b;color:#efdcba;font-size:12px;font-weight:800;padding:0 9px}
.auth-submit{margin-top:13px;width:100%;min-height:53px}.auth-help{margin-top:21px;padding-top:18px;border-top:1px solid #ffffff20;color:#aebdce;font-size:12px;line-height:1.6}
.auth-error{border-radius:10px;border:1px solid #ec8c72;color:#ffd2c7;background:#7a291e54;padding:12px 13px;font-size:13px;margin-bottom:17px}
.auth-aside{max-width:530px;padding:20px 35px}.auth-crest{display:block;font-size:74px;color:#e4b761;filter:drop-shadow(0 0 26px #efbf6766)}.auth-aside h2{font-size:clamp(30px,3.5vw,48px);margin:12px 0;line-height:1.18}.auth-aside>p{color:#c3cbd8;line-height:1.9}.auth-points{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}.auth-points span{border:1px solid #cba86068;background:#a77c2a24;color:#ffe4b5;font-size:12px;padding:10px 12px;border-radius:9px}.auth-aside .auth-note{border-left:2px solid #ca9e51;padding-left:15px;color:#a8b7c9;font-size:12px;line-height:1.7}
.account-shell{padding-top:64px;padding-bottom:100px}.account-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.account-head h1{font-size:clamp(28px,4vw,47px);margin:12px 0 5px}.account-head p{margin:0;color:#b7c1cf}.account-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:17px}.account-block{padding:26px;min-width:0}.account-avatar{display:grid;place-items:center;width:74px;height:74px;border-radius:50%;border:2px solid #ecc36d;background:#6e552a42;color:#e9c56f;font-size:36px;margin-top:22px}.account-block h2{font-size:23px;overflow-wrap:anywhere;margin:18px 0 16px}.account-status{display:flex;align-items:center;gap:7px;font-size:12px;color:#8affbf;margin-bottom:22px}.account-line{border-top:1px solid #ffffff25;padding:12px 0;display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:13px}.account-line span{color:#adb9ca}.account-line strong{overflow-wrap:anywhere;text-align:right}.account-block p{color:#b6c2d1;font-size:14px;line-height:1.8;min-height:110px}.account-block .btn{font-size:13px}.account-welcome{margin-bottom:23px;padding:14px 20px;border:1px solid #419e77;background:#15825e26;border-radius:12px;color:#b3fbd6}.account-caution{margin-top:28px;border-left:3px solid #d8ab59;background:#5f482120;padding:16px;color:#d6c5a7;font-size:13px}
.nav-auth{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.nav-auth a{font-size:12px;font-weight:800;padding:10px 12px;border-radius:11px;background:#1b2d43;border:1px solid #b79b5c6b;color:#f4deb3}.nav-auth .nav-register{background:linear-gradient(110deg,#d3a044,#ffe1a1);color:#19140a}
@media(max-width:1010px){.auth-layout{grid-template-columns:minmax(310px,1fr) .85fr;gap:6px}.auth-aside{padding:10px}.account-grid{grid-template-columns:1fr 1fr}.account-grid .account-block:last-child{grid-column:1/-1}.nav-auth{justify-content:flex-end}}
@media(max-width:750px){.auth-layout{display:block;padding-top:34px}.auth-card{margin:0 auto;padding:27px 23px}.auth-aside{margin:22px auto;max-width:520px;padding:12px}.auth-aside h2{font-size:27px}.auth-crest{display:none}.account-grid{grid-template-columns:1fr}.account-grid .account-block:last-child{grid-column:auto}.account-head{align-items:flex-start}.auth-toplinks{gap:10px;font-size:12px}.nav-auth a{padding:8px 10px}.nav-inner{flex-wrap:wrap;padding-top:10px;padding-bottom:10px}}
@media(max-width:480px){.shell{width:min(1180px,calc(100% - 26px))}.auth-form input{font-size:16px}.account-head{flex-wrap:wrap}.nav-inner{gap:9px}.nav-auth{width:100%;justify-content:flex-start}.auth-toplinks{flex-wrap:wrap}.account-block{padding:20px}}


/* V4 - administrator dashboard / bootstrap, mobile-friendly */
.admin-setup-wrap{min-height:calc(100vh - 100px);display:grid;place-items:center;padding-top:45px;padding-bottom:85px}
.admin-setup-card{padding:35px;width:min(520px,100%);border-color:#c3985478}
.admin-setup-card h1{font-size:clamp(27px,4vw,39px);margin:12px 0 17px}
.admin-setup-card p,.admin-muted{color:#b7c3d3;line-height:1.7;margin:0 0 21px;font-size:14px}
.admin-setup-card strong{color:#f7dc9b}
.admin-setup-card .auth-form{margin-top:18px}
.admin-shell{padding-top:54px;padding-bottom:90px}
.admin-title-row{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}
.admin-title-row h1{font-size:clamp(30px,4.8vw,50px);line-height:1.2;margin:10px 0}
.admin-title-row p{margin:0;color:#b9c5d6;font-size:14px}
.admin-small-tag{display:inline-block;vertical-align:middle;font-size:12px;color:#ffe19f;border:1px solid #b79045a3;border-radius:7px;padding:4px 8px;letter-spacing:1px}
.admin-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:22px}
.admin-stat{padding:25px;display:flex;flex-direction:column;gap:4px}
.admin-stat span{color:#f6d48f;font-size:11px;letter-spacing:1.2px;font-weight:850}
.admin-stat strong{font-size:42px;letter-spacing:-1.5px;font-weight:900;line-height:1.35}
.admin-stat small{color:#aab7c8;font-size:12px}
.admin-list-card{padding:24px;min-width:0}
.admin-list-header{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}
.admin-list-header h2{font-size:26px;margin:7px 0}
.admin-list-header p{font-size:13px;margin:0;color:#aebcd0}
.admin-search{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.admin-search input{background:#0d192b;border:1px solid #67788e;color:#f5f7fc;border-radius:11px;min-height:46px;padding:10px 12px;min-width:230px;font-size:14px}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.admin-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #6d789045;border-radius:13px}
.admin-table{width:100%;border-collapse:collapse;min-width:610px;font-size:13px}
.admin-table th{background:#111e30;color:#a6b7d0;text-transform:uppercase;text-align:left;font-size:11px;letter-spacing:.5px;padding:15px 14px}
.admin-table td{padding:17px 14px;color:#e1e8f3;border-top:1px solid #ffffff17;white-space:nowrap}
.admin-table tr:hover td{background:#ffffff09}
.admin-role{color:#c8d5e7;background:#283850;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800}
.admin-role.is-admin{color:#ffe6a8;background:#76521f66}
.admin-empty{text-align:center;color:#c0cfdf!important;padding:40px!important}
.admin-table-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:17px;color:#acbad0;font-size:12px}
.admin-pages{display:flex;gap:8px}.admin-pages .btn{min-height:39px;padding:7px 12px;font-size:12px}
.admin-denied{margin:65px auto;padding:40px;max-width:600px;text-align:center}
.admin-denied p{color:#acb8ca;margin-bottom:26px}
.admin-account-link{margin-bottom:24px}
@media(max-width:860px){.admin-list-header{align-items:start;flex-direction:column}.admin-search{width:100%}.admin-search input{flex:1;min-width:160px}}
@media(max-width:570px){.admin-summary{grid-template-columns:1fr 1fr}.admin-summary .admin-stat:last-child{grid-column:1/-1}.admin-stat{padding:18px}.admin-stat strong{font-size:31px}.admin-shell{padding-top:32px}.admin-title-row{align-items:start;flex-wrap:wrap}.admin-list-card{padding:14px}.admin-table-footer{align-items:start;flex-direction:column}.admin-setup-card{padding:24px}.admin-search input{width:100%;flex:auto}.admin-search .btn{flex:1}}

.admin-table .admin-id{color:#f1d08e;font-size:12px;font-weight:800;letter-spacing:.2px}.admin-table{min-width:785px}

/* V5 — referral sharing and invited-account listing */
.referrals-panel{padding:27px;margin-top:23px;min-width:0}
.referrals-panel h2{font-size:clamp(22px,2.7vw,30px);margin:11px 0}
.ref-caption{color:#bbc7d8;font-size:14px;line-height:1.7;max-width:780px;margin:0 0 19px}
.referrals-panel label{display:block;font-size:12px;font-weight:800;margin-bottom:9px;color:#f4dca3}
.ref-share-row{display:flex;gap:9px;align-items:stretch;flex-wrap:wrap}
.ref-share-row input{flex:1 1 400px;min-width:0;background:#0d192b;border:1px solid #687a90;border-radius:10px;padding:12px 14px;color:#e9eefa;font-size:14px}
.ref-share-row .btn{min-height:45px;font-size:13px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center}
.ref-status{min-height:25px;font-size:13px;color:#8affbf;margin:9px 0}
.ref-notice{border:1px solid #37b17b7a;background:#166f5538;border-radius:10px;color:#baffd7;padding:12px;font-size:13px;line-height:1.6;margin-bottom:16px}
.ref-list-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:15px;margin-bottom:17px}
.ref-list-head h3{font-size:21px;margin:0 0 5px}.ref-list-head p{color:#a8b8cb;margin:0;font-size:12px}
.ref-count{border:1px solid #bd9148a0;color:#f6d796;background:#5a401f33;border-radius:999px;padding:10px 15px;font-weight:800;white-space:nowrap}
.ref-empty{padding:21px;background:#0c1829;border:1px dashed #59677b;border-radius:12px;color:#c1cad8;font-size:14px}
.ref-table-wrap{overflow-x:auto;border:1px solid #56677b66;border-radius:12px}.ref-table{border-collapse:collapse;width:100%;min-width:400px;font-size:13px}
.ref-table th{text-align:left;background:#121e31;padding:14px;color:#c5d5e8}.ref-table td{padding:14px;border-top:1px solid #ffffff20}
.admin-table{min-width:1110px}.admin-ref-phone{font-size:11px;color:#b2c3d4;margin-top:4px}.admin-muted-val{color:#91a1b6}
@media(max-width:620px){.referrals-panel{padding:18px}.ref-share-row input{flex-basis:100%}.ref-share-row .btn{flex:1}.ref-list-head{align-items:start;flex-direction:column}}

/* V6: product catalogue, protected product editor and order management */
.commerce-main{padding-top:45px;padding-bottom:85px;min-height:70vh}.commerce-main h1{font-size:clamp(30px,4vw,50px);line-height:1.14;margin:12px 0}.commerce-main h2{margin:6px 0 14px;font-size:21px}.commerce-main p{color:#c7d0dc}.commerce-nav{display:flex;gap:20px;flex-wrap:wrap;font-size:14px}.commerce-nav a:hover{color:#f0c77f}.commerce-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.commerce-head p{margin:4px 0}.commerce-actions{display:flex;gap:10px;flex-wrap:wrap}.commerce-box{padding:24px}.commerce-columns{display:grid;grid-template-columns:minmax(290px,1fr) minmax(300px,1.13fr);align-items:start;gap:18px}.commerce-form{display:grid;gap:14px}.commerce-form label{display:grid;gap:7px;font-size:14px;color:#e8e9ec;font-weight:700}.commerce-form input:not([type=checkbox]),.commerce-form select,.commerce-form textarea,.commerce-search input,.commerce-search select,.commerce-filters select,.commerce-order-line input,.commerce-status-form select{color:#f7f7f7;background:#111c2c;border:1px solid #62718c;border-radius:10px;padding:12px 13px;min-width:0;width:100%;font:inherit}.commerce-form textarea{resize:vertical;max-width:100%}.commerce-form .commerce-check{display:flex;align-items:start;gap:11px;font-weight:500}.commerce-check input{width:18px;height:18px;accent-color:#e4b251;flex:none}.commerce-form input[type=file]{font-size:13px}.commerce-alert{padding:14px 18px;border:1px solid #40bf82;background:#1b593934;border-radius:12px;margin-bottom:22px;color:#abf8d2}.commerce-alert.is-error{border-color:#f48b90;background:#8c343326;color:#ffd6d8}.commerce-thumb{width:130px;height:115px;object-fit:cover;border-radius:10px}.commerce-product-list{display:grid;gap:12px;margin-top:16px}.commerce-mini-product{padding:12px 0;display:flex;gap:14px;align-items:center;border-bottom:1px solid #3f4a60}.commerce-mini-photo{width:74px;height:74px;display:grid;place-items:center;border-radius:10px;background:#2d384c;font-size:28px;flex:none;overflow:hidden}.commerce-mini-photo img{width:100%;height:100%;object-fit:cover}.commerce-mini-info{display:grid;gap:4px;min-width:0;flex:1;word-break:break-word}.commerce-mini-info span,.commerce-mini-info small{color:#adbccf}.commerce-mini-actions{display:flex;flex-direction:column;gap:7px}.commerce-mini-actions .btn{min-height:36px;padding:7px 11px;font-size:12px}.commerce-row{display:flex;justify-content:space-between;align-items:center}.commerce-pill{font-size:12px;font-weight:bold;color:#fbe0a6;border:1px solid #ab874f;border-radius:999px;padding:7px 12px}.commerce-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.commerce-product{overflow:hidden}.commerce-product-image{height:235px;display:grid;place-items:center;background:radial-gradient(circle at 50% 20%,#9c782c40,#13233d);font-size:75px}.commerce-product-image img{width:100%;height:100%;object-fit:cover}.commerce-product-body{padding:19px}.commerce-product-body h2{font-size:21px}.commerce-product-body p{font-size:14px;min-height:62px;white-space:normal;overflow-wrap:anywhere}.commerce-cat{font-size:12px;color:#e9c989;font-weight:900}.commerce-product-end{display:flex;align-items:center;justify-content:space-between;gap:10px}.commerce-product-end strong{font-size:20px;color:#ffe1a3}.commerce-product-end .btn{font-size:13px;padding:9px 10px;min-height:42px}.commerce-search{padding:15px;margin-bottom:22px}.commerce-search form{display:grid;grid-template-columns:2fr 1fr auto auto;gap:10px}.commerce-empty{color:#c5cbd4;padding:18px}.commerce-order-line{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #52607965;padding:13px 0}.commerce-order-line div{display:grid;gap:3px}.commerce-order-line small{color:#adbcd0}.commerce-order-line>strong{white-space:nowrap}.commerce-order-line label{display:flex;align-items:center;gap:8px;margin-left:auto}.commerce-order-line label input{width:85px}.commerce-cart-bottom{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:22px}.commerce-cart-bottom>strong{font-size:22px;color:#ffe7b6}.commerce-clear{text-align:right;margin-top:15px}.commerce-disclaimer,.commerce-foot{color:#c8b9a1;font-size:13px}.commerce-foot{border-top:1px solid #ffffff26;margin-top:54px;padding-top:20px}.commerce-success{max-width:720px;margin:40px auto;padding:35px}.commerce-success .btn{margin:8px 8px 0 0}.commerce-filters{padding:14px;display:flex;gap:10px;align-items:end;margin-bottom:16px}.commerce-filters label{display:grid;gap:6px;min-width:200px}.commerce-orders{display:grid;gap:17px}.commerce-order-head{display:flex;justify-content:space-between;gap:14px}.commerce-order-head h2{margin:6px 0}.commerce-order-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:16px;padding:14px;background:#0c1827;border-radius:12px}.commerce-order-meta>div{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.commerce-order-meta span{font-size:12px;color:#b7bfcf}.commerce-order-note{padding:11px;background:#152b40;border-radius:10px;overflow-wrap:anywhere}.commerce-status-form{display:flex;align-items:end;gap:10px;margin-top:17px}.commerce-status-form label{display:grid;gap:6px;min-width:200px}.commerce-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:20px}.commerce-account-orders{margin-top:24px}.commerce-account-orders .commerce-order-line{font-size:13px}.commerce-account-orders summary{cursor:pointer;color:#f9d992;font-weight:700}.commerce-order-status{font-size:12px;color:#9ce1bd}.commerce-main input:focus-visible,.commerce-main select:focus-visible,.commerce-main textarea:focus-visible{outline:2px solid #edc66b;outline-offset:2px}
@media(max-width:920px){.commerce-products{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-columns{grid-template-columns:1fr}.commerce-order-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-head{align-items:start;flex-direction:column}.commerce-nav{gap:10px}}
@media(max-width:580px){.commerce-main{padding-top:25px}.commerce-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.commerce-product-image{height:155px}.commerce-product-body{padding:11px}.commerce-product-body h2{font-size:16px}.commerce-product-body p{font-size:12px;min-height:65px}.commerce-product-end{align-items:stretch;flex-direction:column}.commerce-product-end strong{font-size:17px}.commerce-search form{grid-template-columns:1fr 1fr}.commerce-search form input{grid-column:span 2}.commerce-cart-bottom,.commerce-order-head,.commerce-status-form{align-items:stretch;flex-direction:column}.commerce-mini-product{flex-wrap:wrap}.commerce-mini-actions{flex-direction:row;width:100%}.commerce-order-meta{grid-template-columns:1fr 1fr}.commerce-order-line{flex-wrap:wrap}.commerce-nav{font-size:12px}.commerce-form{gap:11px}}


/* V7 layout improvements */
.commerce-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.commerce-form-grid .field-span-2{grid-column:1 / -1}
.commerce-inline-note{font-size:12px;color:#aebacd;margin-top:2px}
.commerce-submit-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:4px}
.commerce-order-summary-box{position:sticky;top:92px}
.commerce-preview-box{padding:16px;border:1px dashed #62718c;border-radius:14px;background:#0d1726}
.commerce-preview-box strong{display:block;margin-bottom:8px}
.commerce-thumb-large{width:100%;max-width:240px;height:180px;object-fit:cover;border-radius:14px;border:1px solid #40506a;background:#0e1625}
.commerce-form-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.commerce-form-split .field-span-2{grid-column:1 / -1}
.commerce-mini-product{padding:14px 0}
.commerce-products{grid-template-columns:repeat(3,minmax(0,1fr))}
.commerce-product{display:flex;flex-direction:column}
.commerce-product-image{aspect-ratio:1 / 1;height:auto;min-height:220px}
.commerce-upload-help{font-size:12px;color:#aab6c9;line-height:1.5}
.commerce-top-actions-row{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
@media(max-width:920px){
  .commerce-form-grid,.commerce-form-split{grid-template-columns:1fr 1fr}
  .commerce-order-summary-box{position:static}
}
@media(max-width:700px){
  .commerce-search form{grid-template-columns:1fr}
  .commerce-search form input{grid-column:auto}
  .commerce-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .commerce-product-body p{min-height:52px}
}
@media(max-width:580px){
  .commerce-form-grid,.commerce-form-split{grid-template-columns:1fr}
  .commerce-form-grid .field-span-2,.commerce-form-split .field-span-2{grid-column:auto}
  .commerce-submit-row{align-items:stretch;flex-direction:column}
  .commerce-product-image{min-height:145px}
  .commerce-thumb-large{max-width:none;height:160px}
}

/* V9 test-only virtual credits and ledger */
.bonus-banner{display:grid;gap:5px;background:#2d1e0c;border:1px solid #d3a254;color:#fce2a0;padding:17px 20px;border-radius:15px;margin:20px 0 22px}
.bonus-banner strong{font-size:14px;letter-spacing:.05em}.bonus-banner span{font-size:13px}
.bonus-dashboard{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.bonus-balance{font-size:clamp(30px,4vw,48px);font-weight:900;color:#ffd985;line-height:1.4}.bonus-balance small{font-size:13px;font-weight:700;color:#d1bd8f}
.bonus-table-wrap{overflow-x:auto;margin-top:17px;max-width:100%}
.bonus-table{border-collapse:collapse;width:100%;min-width:690px;text-align:left;font-size:13px}
.bonus-table th,.bonus-table td{border-bottom:1px solid #52607988;padding:13px 12px;vertical-align:top;white-space:normal;overflow-wrap:anywhere}
.bonus-table th{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#f7d998}
.bonus-table td strong{display:block}.bonus-table td small{display:block;color:#b9c6d9;font-size:12px;margin-top:4px}
.bonus-table td:first-child{min-width:175px}
button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:720px){.bonus-dashboard{grid-template-columns:1fr}.bonus-balance{font-size:34px}}


/* V15 shop compact description */
.commerce-product-desc{display:grid;gap:10px;margin-bottom:12px}
.commerce-desc-short{font-size:14px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;min-height:5.8em;margin:0}
.commerce-details{border:1px solid #556683;border-radius:12px;background:#101927;overflow:hidden}
.commerce-details summary{list-style:none;cursor:pointer;padding:11px 14px;font-size:13px;font-weight:800;color:#ffe09a;display:flex;align-items:center;justify-content:space-between}
.commerce-details summary::-webkit-details-marker{display:none}
.commerce-details summary::after{content:'+';font-size:18px;line-height:1;color:#ffe09a}
.commerce-details[open] summary::after{content:'−'}
.commerce-details-body{padding:0 14px 14px;color:#d8dfeb;font-size:13px;line-height:1.7;border-top:1px solid #34445d;white-space:normal;overflow-wrap:anywhere}
@media(max-width:580px){.commerce-desc-short{font-size:12px;min-height:5.4em}.commerce-details summary{padding:10px 12px;font-size:12px}.commerce-details-body{font-size:12px;padding:0 12px 12px}}


/* V16: bonus product checkout */
.bonus-checkout-balance{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:14px 16px;margin:10px 0 17px;border:1px solid #c49a4d;background:#63451528;border-radius:12px}
.bonus-checkout-balance span{color:#d4deeb;font-size:13px;font-weight:700}
.bonus-checkout-balance strong{color:#ffe29d;font-size:20px}
.bonus-checkout-total{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center;color:#dce5f0;padding:12px 0;font-size:14px}
.bonus-checkout-total strong{color:#fce0a2;font-size:20px}
.bonus-order-pill{color:#c5f7e1;border:1px solid #54bc87;background:#17442b66;border-radius:12px;padding:13px 17px;margin:12px 0;overflow-wrap:anywhere;font-size:13px}
