:root{--bg:#050914;--panel:#0c1322;--panel2:#111a2d;--line:#202c43;--text:#f6f8ff;--muted:#9aa7bd;--purple:#7c3cff;--blue:#1677ff;--green:#17d68c;--red:#ff4b61}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 80% 0,#131044 0,transparent 28%),var(--bg);color:var(--text);font:15px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.topbar{height:42px;border-bottom:1px solid var(--line);display:flex;justify-content:space-around;align-items:center;color:#d9def0;font-size:13px}.header{min-height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:28px;padding:12px max(24px,calc((100% - 1180px)/2));position:sticky;top:0;background:rgba(5,9,20,.94);backdrop-filter:blur(12px);z-index:10}.logo{font-weight:900;font-size:22px;letter-spacing:-.7px}.logo span,em{font-style:normal;color:#9a57ff}.search{flex:1;max-width:360px;display:flex;background:#0b1220;border:1px solid var(--line);border-radius:12px;overflow:hidden}.search input{width:100%;background:transparent;border:0;color:white;padding:12px}.search button{background:transparent;color:white;border:0;padding:0 14px}.header nav{margin-left:auto;display:flex;align-items:center;gap:18px}.inline{display:inline}.linkbtn{border:0;background:transparent;color:white;cursor:pointer}.btn{display:inline-block;border:0;border-radius:9px;background:linear-gradient(135deg,#7442ff,#4b1fd0);color:white;padding:12px 21px;font-weight:700;cursor:pointer}.btn.small{padding:8px 13px;font-size:13px}.btn.full{display:block;width:100%;text-align:center}.flash{max-width:1180px;margin:14px auto;padding:12px 16px;border-radius:10px}.flash.success{background:#103524;color:#8df4c8}.flash.error{background:#3a1520;color:#ffbac5}.hero{max-width:1180px;margin:20px auto 12px;min-height:390px;border:1px solid #263555;border-radius:20px;padding:42px;display:grid;grid-template-columns:1.1fr 1fr;gap:30px;align-items:center;overflow:hidden;background:linear-gradient(120deg,rgba(7,12,25,.97),rgba(14,8,50,.9)),radial-gradient(circle,#5421ff,transparent 45%)}.hero h1{font-size:46px;line-height:1.08;margin:16px 0;max-width:620px}.hero p{font-size:20px;color:#d7dced}.pill{display:inline-block;border:1px solid #2b405b;border-radius:999px;padding:6px 11px;color:#47e9aa;font-size:12px;font-weight:700}.hero-points{display:flex;gap:20px;margin:24px 0;color:#c7d0e1}.hero-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;transform:rotate(4deg)}.hero-cards b{min-height:120px;border:1px solid #3b4f76;border-radius:17px;display:grid;place-items:center;font-size:42px;background:linear-gradient(145deg,#0f58ce,#09162d);box-shadow:0 15px 50px #0008}.hero-cards b:nth-child(2n){background:linear-gradient(145deg,#137cec,#0b1a36)}.hero-cards b:nth-child(3n){background:linear-gradient(145deg,#200917,#10050a);color:#ff3045}.brandrow,.section,.deal,footer{max-width:1180px;margin-left:auto;margin-right:auto}.brandrow{display:grid;grid-template-columns:repeat(9,1fr);gap:10px;margin-top:16px}.brandrow a{background:#0a111f;border:1px solid var(--line);border-radius:13px;padding:16px 8px;text-align:center;font-size:12px}.brandrow span{display:block;font-size:26px;margin-bottom:6px}.section{padding:28px 0}.section h1,.section h2{margin:0 0 18px}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.products{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.product{background:linear-gradient(180deg,#0d1524,#09101c);border:1px solid var(--line);border-radius:14px;padding:12px}.product h3{font-size:14px;margin:11px 0 4px}.product small,.muted{color:var(--muted)}.prodart{height:145px;border-radius:11px;background:linear-gradient(145deg,#093fa4,#051b43);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:13px}.prodart span{font-size:48px}.prodart.netflix{background:linear-gradient(145deg,#21080d,#050505);color:#ff2e42}.prodart.spotify{background:linear-gradient(145deg,#063724,#050c09);color:#34e48e}.prodart.amazon{background:linear-gradient(145deg,#20180e,#070707)}.prodart.google-play{background:linear-gradient(145deg,#173b58,#07101b)}.prodart.big{height:360px;font-size:26px}.prodart.big span{font-size:110px}.price{font-size:20px;font-weight:800;margin:10px 0}.deal{border:1px solid #302761;border-radius:17px;margin-top:10px;padding:24px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(100deg,#110b35,#070d1d)}.timer{display:flex;align-items:center;gap:9px}.timer b{font-size:27px;background:#171b38;padding:9px 14px;border-radius:9px}.timer span{font-size:11px;color:var(--muted)}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.features>div,.stats>div{border:1px solid var(--line);background:#0b1220;border-radius:13px;padding:18px;display:flex;flex-direction:column;gap:5px}.features>div{font-size:25px}.features b,.features span{font-size:13px}.features span{color:var(--muted)}footer{border-top:1px solid var(--line);padding:35px 0 50px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px;color:var(--muted)}footer>div{display:flex;flex-direction:column;gap:8px}.field{width:100%;padding:11px 12px;background:#09101c;border:1px solid var(--line);border-radius:9px;color:white;margin:5px 0 12px}.narrow{max-width:800px}.panel{border:1px solid var(--line);background:#0b1220;border-radius:13px;padding:18px;margin:14px 0}.line,.cartrow,.orderrow{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:14px 0}.cartrow small,.orderrow small{display:block;color:var(--muted)}.total{display:flex;justify-content:space-between;font-size:20px;padding:18px 0}.danger{background:#3d1220;border:0;color:#ff9bae;padding:7px 10px;border-radius:8px}.pay{display:flex;gap:10px;align-items:center;border:1px solid var(--line);padding:13px;border-radius:9px;margin:9px 0}.authbox{width:min(440px,calc(100% - 30px));margin:70px auto;background:#0b1220;border:1px solid var(--line);border-radius:18px;padding:28px}.authbox label{display:block;margin:11px 0}.product-detail{display:grid;grid-template-columns:430px 1fr;gap:40px}.variant{display:grid;grid-template-columns:1fr auto auto;gap:16px;align-items:center;border:1px solid var(--line);padding:13px;border-radius:10px;margin:9px 0}.variant small{display:block;color:var(--muted)}.status{display:inline-block;padding:5px 9px;border-radius:999px;background:#172135;color:#b7c4db;font-size:12px}.status.completed,.status.paid,.status.available{background:#103725;color:#70efb3}.status.pending_payment,.status.fulfillment_pending{background:#3a2c10;color:#ffd67b}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.stats b{font-size:24px}.adminnav{display:flex;flex-wrap:wrap;gap:10px}.adminnav a{padding:8px 10px;background:#101a2c;border-radius:8px}.gridform{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;align-items:center}.table{overflow:auto;border:1px solid var(--line);border-radius:10px;margin:12px 0}.tablerow{min-width:750px;display:grid;grid-template-columns:1.5fr 1.5fr 1fr 1fr 1fr 1fr;gap:10px;align-items:center;padding:9px 12px;border-bottom:1px solid var(--line)}.tablerow input{width:100%;background:#070d18;border:1px solid #283650;color:#fff;padding:7px;border-radius:7px}.tablerow.head{font-weight:700;background:#111b2e}.codebox{margin-top:12px;padding:14px;background:#050a12;border:1px dashed #3e557e;border-radius:10px}.codebox code{display:block;font-size:18px;color:#6ff0bb;margin:6px 0 12px;word-break:break-all}
@media(max-width:900px){.topbar span:nth-child(n+3){display:none}.header{flex-wrap:wrap}.search{order:3;max-width:none;width:100%}.header nav{gap:10px;font-size:13px}.hero{grid-template-columns:1fr;padding:26px}.hero h1{font-size:34px}.hero-cards{grid-template-columns:repeat(3,1fr)}.brandrow{grid-template-columns:repeat(3,1fr);padding:0 16px}.section,.deal,footer{margin-left:16px;margin-right:16px}.products{grid-template-columns:repeat(2,1fr)}.features,.stats{grid-template-columns:repeat(2,1fr)}.product-detail{grid-template-columns:1fr}.gridform{grid-template-columns:1fr 1fr}.deal{align-items:flex-start;gap:20px;flex-direction:column}}@media(max-width:520px){.header nav a:nth-child(1),.header nav a:nth-child(2){display:none}.hero-points{flex-direction:column;gap:7px}.hero-cards b{min-height:90px;font-size:30px}.products{grid-template-columns:1fr 1fr}.features,.stats{grid-template-columns:1fr 1fr}.timer{flex-wrap:wrap}.gridform{grid-template-columns:1fr}.variant{grid-template-columns:1fr}.topbar{justify-content:space-around}.product{padding:9px}.prodart{height:120px}footer{grid-template-columns:1fr}.hero{margin:12px}}
.page-shell{max-width:1180px;margin:0 auto;padding:30px 0}.page-shell.narrow{max-width:800px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.section-head h1{margin:3px 0 0}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-weight:800;font-size:11px;color:#9a57ff}.legal-card{border:1px solid var(--line);background:#0b1220;border-radius:16px;padding:26px}.prose{color:#d7deeb}.prose h2,.prose h3{color:#fff;margin-top:24px}.prose a{color:#a875ff;text-decoration:underline}.admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.admin-card{display:flex;flex-direction:column;gap:7px;background:#0b1220;border:1px solid var(--line);border-radius:13px;padding:18px}.admin-card span,.admin-card small{color:var(--muted)}.form-stack label{display:flex;flex-direction:column;gap:6px;margin-bottom:13px}.form-stack input,.form-stack textarea,.form-grid input,.form-grid textarea,.form-grid select{width:100%;padding:11px 12px;background:#09101c;border:1px solid var(--line);border-radius:9px;color:#fff}.form-stack .check{flex-direction:row;align-items:center}.form-stack .check input{width:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid label{display:flex;flex-direction:column;gap:6px}.span-2{grid-column:span 2}.stock-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:14px 0}.stock-pill{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);background:#0b1220;border-radius:12px}.stock-pill b{font-size:22px}.stock-pill span{display:flex;flex-direction:column;font-size:12px}.stock-pill small{color:var(--muted)}.stock-pill.low{border-color:#6c4820;background:#261c0d}.warning-panel{border-color:#5a3d1b}.tablerow.inventory{grid-template-columns:1.5fr 1.2fr 1fr .7fr .8fr 1fr}.admin-test{border-color:#7544ff;background:#17112d}.copy-value{user-select:all}.stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
@media(max-width:900px){.page-shell{padding:24px 16px}.admin-grid{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}}
@media(max-width:520px){.admin-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.page-shell{padding-top:18px}}
/* Tisdif Admin v3 / Hybrid Commerce */
.type-badge{display:inline-flex;align-items:center;text-transform:uppercase;font-size:10px;letter-spacing:.08em;font-weight:900;padding:4px 8px;border-radius:999px;margin:5px 0}.type-badge.digital{color:#9ce8ff;background:#0b3041;border:1px solid #155b74}.type-badge.physical{color:#d8c2ff;background:#29154d;border:1px solid #5a3099}.soft-badge,.badge{display:inline-flex;padding:5px 9px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:11px}.prodart img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.product-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.variant-price{display:flex;flex-direction:column;align-items:flex-end}.variant-price del{color:var(--muted);font-size:12px}.physical-note,.checkout-note,.shipping-box{border:1px solid #2b405b;background:#0b1423;border-radius:11px;padding:13px;margin:14px 0;color:#c8d3e5}.shop-filter{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.shop-filter .field{width:auto;min-width:130px;margin:0}
.admin-body{background:#070b13}.admin-shell{min-height:100vh;display:grid;grid-template-columns:248px 1fr}.admin-sidebar{position:sticky;top:0;height:100vh;background:#080d17;border-right:1px solid #1a2435;padding:22px 14px;display:flex;flex-direction:column;z-index:40}.admin-brand{font-weight:950;font-size:18px;padding:0 10px 20px}.admin-brand span{color:#8d5cff}.admin-brand small{display:block;color:#68758b;font-size:10px;text-transform:uppercase;letter-spacing:.12em;margin-top:3px}.admin-sidebar nav{display:flex;flex-direction:column;gap:3px;overflow:auto}.admin-sidebar nav a{padding:10px 11px;border-radius:9px;color:#aab6c9;font-size:13px}.admin-sidebar nav a:hover,.admin-sidebar nav a.active{background:linear-gradient(90deg,#5126a6,#25184b);color:#fff}.nav-label{font-size:9px;text-transform:uppercase;letter-spacing:.14em;color:#59667c;padding:18px 11px 6px}.admin-side-foot{margin-top:auto;border-top:1px solid #192334;padding:14px 10px;display:flex;justify-content:space-between;gap:8px;font-size:12px}.admin-side-foot button{background:transparent;border:0;color:#ff8fa1;cursor:pointer}.admin-main{min-width:0}.admin-top{height:68px;border-bottom:1px solid #1a2435;background:rgba(8,13,23,.92);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:space-between;padding:0 26px;position:sticky;top:0;z-index:30}.admin-top>div:first-of-type{display:flex;flex-direction:column}.admin-top small{color:var(--muted);font-size:11px}.admin-user{display:flex;align-items:center;gap:9px}.admin-user>span{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#5d32c2;font-weight:900}.admin-user div{display:flex;flex-direction:column;font-size:12px}.admin-content{padding:28px;max-width:1600px;margin:0 auto}.mobile-menu{display:none;background:#111a2d;border:1px solid var(--line);color:#fff;border-radius:8px;padding:8px}.admin-page-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.admin-page-head h1{margin:2px 0;font-size:28px}.admin-page-head p{margin:3px 0;color:var(--muted)}.admin-kpis{display:grid;grid-template-columns:repeat(6,minmax(140px,1fr));gap:11px}.kpi{background:#0d1421;border:1px solid #1d293b;border-radius:13px;padding:16px;display:flex;flex-direction:column}.kpi small,.kpi span{color:var(--muted);font-size:11px}.kpi b{font-size:22px;margin:4px 0}.kpi.purple{background:linear-gradient(135deg,#291356,#111628);border-color:#5934a8}.kpi.warn{border-color:#5d431b;background:#21190d}.admin-two-col{display:grid;grid-template-columns:1.7fr 1fr;gap:14px;margin-top:14px}.admin-panel{background:#0d1421;border:1px solid #1d293b;border-radius:14px;padding:17px;margin-bottom:14px}.panel-title,.product-admin-head,.shipment-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}.panel-title h3,.product-admin-head h3{margin:0}.panel-title a{color:#9c78ff;font-size:12px}.admin-table{overflow:auto}.admin-table .tr{min-width:660px;display:grid;grid-template-columns:1.3fr 1.5fr 1fr 1fr;gap:12px;padding:11px 7px;border-bottom:1px solid #182335;align-items:center}.admin-table .tr.th{color:#76869f;text-transform:uppercase;font-size:9px;letter-spacing:.1em}.admin-table .tr span{display:flex;flex-direction:column;font-size:12px}.admin-table .tr small{color:var(--muted)}.admin-table .tr input,.admin-table .tr select{background:#080e19;border:1px solid #27354a;color:#fff;border-radius:7px;padding:7px;width:100%}.admin-table .order-tr{grid-template-columns:1.4fr 1.5fr 1fr 1.2fr 1.2fr .7fr 1fr;min-width:1050px}.stock-line{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #182335;padding:10px 0}.stock-line div{display:flex;flex-direction:column;font-size:12px}.stock-line small{color:var(--muted)}.stock-count{min-width:36px;text-align:center;padding:6px;border-radius:8px;background:#163927;color:#76f0b5;font-weight:900}.stock-count.zero{background:#431823;color:#ff92a5}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}.quick-grid a{background:#0d1421;border:1px solid #1d293b;border-radius:13px;padding:16px;display:flex;flex-direction:column}.quick-grid span{color:var(--muted);font-size:11px;margin-top:4px}.admin-form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.admin-form-grid label{display:flex;flex-direction:column;gap:5px;color:#9eabc0;font-size:11px}.admin-form-grid input,.admin-form-grid select,.admin-form-grid textarea,.variant-row input,.variant-create input,.admin-filter input,.admin-filter select{background:#080e19;border:1px solid #27354a;color:#fff;border-radius:8px;padding:9px;width:100%}.admin-form-grid .span-2{grid-column:span 2}.check-row{flex-direction:row!important;align-items:center!important}.check-row input{width:auto!important}.admin-filter{display:flex;gap:8px;margin:0 0 14px}.admin-filter input,.admin-filter select{max-width:230px}.admin-filter button,.variant-row button{background:#1b2840;border:1px solid #344866;color:#fff;border-radius:8px;padding:8px 12px}.product-admin-card{padding:0;overflow:hidden}.product-admin-head{padding:16px 17px;margin:0;border-bottom:1px solid #1b2739}.product-admin-head>div{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.product-admin-head small{color:var(--muted)}.compact-form{padding:15px}.variant-table{overflow:auto;border-top:1px solid #1b2739;border-bottom:1px solid #1b2739}.variant-row{display:grid;grid-template-columns:1.2fr 1.3fr 1fr 1.2fr .8fr .7fr .5fr;gap:9px;align-items:center;padding:9px 15px;min-width:1000px;border-bottom:1px solid #172233;font-size:11px}.variant-row.head{color:#718097;text-transform:uppercase;font-size:9px;background:#0a101b}.variant-row span{display:flex;gap:5px;flex-direction:column}.variant-create{display:flex;flex-wrap:wrap;gap:8px;padding:14px}.variant-create input{width:130px}.shipment-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:10px 0 16px}.shipment-grid small{display:block;color:var(--muted)}.empty{color:var(--muted);padding:20px;text-align:center}
@media(max-width:1200px){.admin-kpis{grid-template-columns:repeat(3,1fr)}.admin-form-grid{grid-template-columns:repeat(2,1fr)}.admin-two-col{grid-template-columns:1fr}.quick-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.admin-shell{display:block}.admin-sidebar{position:fixed;left:-260px;width:248px;transition:.2s}.admin-menu-open .admin-sidebar{left:0}.mobile-menu{display:block}.admin-top{padding:0 14px}.admin-top>div:first-of-type{display:none}.admin-content{padding:16px}.admin-kpis{grid-template-columns:repeat(2,1fr)}.admin-form-grid{grid-template-columns:1fr}.admin-form-grid .span-2{grid-column:auto}.quick-grid{grid-template-columns:1fr 1fr}.shipment-grid{grid-template-columns:1fr}.admin-page-head{align-items:flex-start;flex-direction:column;gap:10px}}
/* Tisdif v4 Light Global Commerce */
.light-store,.admin-light{--bg:#f5f7fb;--panel:#ffffff;--panel2:#f8fafc;--line:#e2e8f0;--text:#172033;--muted:#64748b;--purple:#6d3df5;--blue:#2563eb;--green:#059669;--red:#dc2626;background:#f5f7fb;color:#172033}.light-store{background:linear-gradient(180deg,#f8faff 0,#f4f7fb 100%)}.topbar.light{background:#eef4ff;border-color:#dce6f4;color:#475569}.light-header{background:rgba(255,255,255,.96);border-color:#e4e9f1;box-shadow:0 4px 24px #27364f0a}.light-header .search{background:#f7f9fc;border-color:#dfe6ef}.light-header .search input,.light-header .search button,.light-header .linkbtn{color:#172033}.preference-bar{max-width:1180px;margin:10px auto 0;padding:8px 12px;background:#fff;border:1px solid #e3e8ef;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.preference-bar form{display:flex;gap:8px;flex-wrap:wrap}.preference-bar select{background:#f8fafc;color:#243044;border:1px solid #dbe3ec;border-radius:8px;padding:7px 9px}.settlement-note{font-size:11px;color:#64748b}.light-hero{background:linear-gradient(120deg,#ffffff,#eef3ff 70%,#f3ecff);border-color:#dfe5f0;box-shadow:0 18px 50px #1f2f4d10}.light-hero h1{color:#172033}.light-hero p,.light-hero .hero-points{color:#526078}.light-hero .hero-cards b{background:linear-gradient(145deg,#edf4ff,#dfeaff);border-color:#d4def0;color:#263958;box-shadow:0 15px 35px #56698718}.light-hero .hero-cards b:nth-child(2n){background:linear-gradient(145deg,#f2efff,#e5ddff)}.light-hero .hero-cards b:nth-child(3n){background:linear-gradient(145deg,#fff1f2,#ffe4e6);color:#e11d48}.brandrow a,.light-store .product,.light-store .features>div,.light-store .stats>div,.light-store .panel,.light-store .legal-card,.light-store .admin-card,.light-store .stock-pill{background:#fff;border-color:#e1e7ef;box-shadow:0 8px 24px #31405c0a}.light-store .product h3,.light-store .prose h2,.light-store .prose h3{color:#172033}.light-store .prodart{background:linear-gradient(145deg,#edf4ff,#dfeaff);color:#263958}.light-store .prodart.netflix{background:linear-gradient(145deg,#fff1f2,#ffe4e6);color:#e11d48}.light-store .prodart.spotify{background:linear-gradient(145deg,#ecfdf5,#d1fae5);color:#059669}.light-store .prodart.amazon{background:linear-gradient(145deg,#fff7ed,#ffedd5)}.light-store .prodart.google-play{background:linear-gradient(145deg,#eff6ff,#dbeafe)}.light-deal{background:linear-gradient(100deg,#fff,#f4efff);border-color:#e0d9f6}.currency-flow{display:flex;gap:10px;align-items:center}.currency-flow b{background:#fff;border:1px solid #e0e6ef;padding:10px 13px;border-radius:9px}.light-store footer{border-color:#dde4ed}.light-store .field,.light-store .form-stack input,.light-store .form-stack textarea,.light-store .form-grid input,.light-store .form-grid textarea,.light-store .form-grid select{background:#fff;border-color:#dbe3ec;color:#172033}.light-store .authbox{background:#fff;border-color:#e1e7ef;box-shadow:0 20px 60px #26385612}.light-store .pay,.light-store .variant,.light-store .physical-note,.light-store .checkout-note,.light-store .shipping-box{background:#fff;border-color:#dfe6ef;color:#334155}.light-store .codebox{background:#f8fafc;border-color:#cbd5e1}.product-gallery,.gallery-admin{display:flex;gap:9px;flex-wrap:wrap;margin-top:10px}.product-gallery img{width:76px;height:76px;object-fit:cover;border:1px solid #dbe3ec;border-radius:10px;background:#fff}.gallery-admin{padding:0 15px 15px}.gallery-admin>div{position:relative}.gallery-admin img{width:90px;height:70px;object-fit:cover;border-radius:9px;border:1px solid #dbe3ec}.gallery-admin .danger{font-size:9px;padding:3px 6px;position:absolute;right:3px;bottom:3px}.admin-product-thumb{width:40px;height:40px;object-fit:cover;border-radius:8px;border:1px solid #dbe3ec}.rate-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0 20px}.rate-grid label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#64748b}.rate-grid input{background:#fff;border:1px solid #dbe3ec;color:#172033;border-radius:8px;padding:9px}.gateway-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:20px}.order-money{display:flex;flex-direction:column;align-items:flex-end}.order-money small{color:#64748b}
.admin-light .admin-sidebar{background:#fff;border-color:#e2e8f0;box-shadow:6px 0 24px #27364f08}.admin-light .admin-brand{color:#172033}.admin-light .admin-sidebar nav a{color:#526078}.admin-light .admin-sidebar nav a:hover,.admin-light .admin-sidebar nav a.active{background:#eee9ff;color:#5b32ca}.admin-light .nav-label{color:#94a3b8}.admin-light .admin-side-foot{border-color:#e2e8f0}.admin-light .admin-top{background:rgba(255,255,255,.95);border-color:#e2e8f0}.admin-light .admin-user>span{background:#e8e0ff;color:#5b32ca}.admin-light .admin-panel,.admin-light .kpi,.admin-light .quick-grid a{background:#fff;border-color:#e1e7ef;box-shadow:0 8px 26px #31405c08}.admin-light .kpi.purple{background:linear-gradient(135deg,#f2edff,#fff);border-color:#ddd0ff}.admin-light .kpi.warn{background:#fff9eb;border-color:#f2dfad}.admin-light .admin-table .tr,.admin-light .product-admin-head,.admin-light .variant-table,.admin-light .variant-row{border-color:#e8edf3}.admin-light .variant-row.head{background:#f7f9fc;color:#718096}.admin-light .admin-form-grid input,.admin-light .admin-form-grid select,.admin-light .admin-form-grid textarea,.admin-light .variant-row input,.admin-light .variant-create input,.admin-light .admin-filter input,.admin-light .admin-filter select,.admin-light .admin-table .tr input,.admin-light .admin-table .tr select{background:#fff;border-color:#dbe3ec;color:#172033}.admin-light .admin-filter button,.admin-light .variant-row button{background:#f3f6fa;border-color:#d9e2ec;color:#334155}.admin-light .mobile-menu{background:#fff;color:#172033;border-color:#dbe3ec}
@media(max-width:900px){.preference-bar{margin:8px 16px 0;align-items:flex-start;flex-direction:column}.settlement-note{display:none}.rate-grid{grid-template-columns:repeat(2,1fr)}.gateway-grid{grid-template-columns:1fr}}


/* Tisdif v4.1 definitive theme layer - must stay last */
body.theme-light{--bg:#f6f8fc;--panel:#fff;--panel2:#f8fafc;--line:#e2e8f0;--text:#182236;--muted:#64748b;background:#f6f8fc!important;color:#182236!important}
body.theme-light .topbar{background:#eef4ff!important;color:#475569!important;border-color:#dce6f4!important}
body.theme-light .header{background:rgba(255,255,255,.97)!important;border-color:#e2e8f0!important;box-shadow:0 5px 24px rgba(31,47,73,.07)!important}
body.theme-light .header nav a,body.theme-light .linkbtn{color:#27364a!important}
body.theme-light .search,body.theme-light .field,body.theme-light input,body.theme-light select,body.theme-light textarea{background:#fff!important;color:#172033!important;border-color:#dbe3ec!important}
body.theme-light .search input{background:transparent!important}
body.theme-light .hero{background:linear-gradient(120deg,#fff,#edf3ff 72%,#f5efff)!important;border-color:#dfe6f0!important;color:#182236!important;box-shadow:0 18px 50px rgba(31,47,77,.07)!important}
body.theme-light .hero h1,body.theme-light h1,body.theme-light h2,body.theme-light h3,body.theme-light h4,body.theme-light b,body.theme-light strong{color:#172033}
body.theme-light .hero p,body.theme-light .hero-points,body.theme-light .muted,body.theme-light small{color:#64748b}
body.theme-light .hero-cards b{background:linear-gradient(145deg,#eff5ff,#dfeaff)!important;border-color:#d4deeb!important;color:#304361!important;box-shadow:0 14px 34px rgba(60,79,107,.10)!important}
body.theme-light .hero-cards b:nth-child(2n){background:linear-gradient(145deg,#f5f1ff,#e7dfff)!important}
body.theme-light .hero-cards b:nth-child(3n){background:linear-gradient(145deg,#fff1f2,#ffe4e6)!important;color:#e11d48!important}
body.theme-light .brandrow a,body.theme-light .product,body.theme-light .features>div,body.theme-light .stats>div,body.theme-light .panel,body.theme-light .legal-card,body.theme-light .admin-card,body.theme-light .stock-pill,body.theme-light .authbox,body.theme-light .pay,body.theme-light .variant,body.theme-light .admin-panel,body.theme-light .kpi,body.theme-light .quick-grid a{background:#fff!important;border-color:#e1e7ef!important;color:#243044!important;box-shadow:0 8px 26px rgba(49,64,92,.06)!important}
body.theme-light .product{background:#fff!important}
body.theme-light .prodart{background:linear-gradient(145deg,#edf4ff,#dfeaff)!important;color:#263958!important}
body.theme-light .deal{background:linear-gradient(100deg,#fff,#f4efff)!important;border-color:#e0d9f6!important;color:#27364a!important}
body.theme-light .timer b,body.theme-light .currency-flow b{background:#fff!important;border:1px solid #e0e6ef!important;color:#27364a!important}
body.theme-light .admin-sidebar{background:#fff!important;border-color:#e2e8f0!important;box-shadow:6px 0 24px rgba(39,54,79,.06)!important}
body.theme-light .admin-top{background:rgba(255,255,255,.97)!important;border-color:#e2e8f0!important}
body.theme-light .admin-sidebar nav a{color:#526078!important}
body.theme-light .admin-sidebar nav a:hover,body.theme-light .admin-sidebar nav a.active{background:#eee9ff!important;color:#5b32ca!important}
body.theme-light .admin-table .tr,body.theme-light .variant-row,body.theme-light .product-admin-head,body.theme-light .variant-table{border-color:#e8edf3!important}
body.theme-light .variant-row.head,body.theme-light .tablerow.head{background:#f7f9fc!important;color:#718096!important}
body.theme-light .tablerow input,body.theme-light .variant-row input{background:#fff!important;color:#172033!important;border-color:#dbe3ec!important}
body.theme-light .codebox{background:#f8fafc!important;border-color:#cbd5e1!important}
body.theme-light footer{border-color:#dde4ed!important;color:#64748b!important}
body.theme-light .preference-bar{background:#fff!important;border-color:#e3e8ef!important;color:#334155!important}
body.theme-light .preference-bar select{background:#f8fafc!important;color:#243044!important}

body.theme-dark{--bg:#050914;--panel:#0c1322;--panel2:#111a2d;--line:#202c43;--text:#f6f8ff;--muted:#9aa7bd;background:radial-gradient(circle at 80% 0,#131044 0,transparent 28%),#050914!important;color:#f6f8ff!important}
body.theme-dark .preference-bar{background:#0b1220!important;border-color:#202c43!important;color:#f6f8ff!important}
body.theme-dark .preference-bar select{background:#09101c!important;color:#f6f8ff!important;border-color:#202c43!important}
body.theme-dark .admin-sidebar{background:#09101c!important}
body.theme-dark .admin-top{background:rgba(5,9,20,.96)!important}

/* Tisdif v5 customer, wallet, rewards, branding and ticker */
.logo img,.admin-brand img{display:block;max-width:185px;max-height:50px;object-fit:contain}.admin-brand img{max-width:150px;margin-bottom:5px}.footer-logo{max-width:190px;max-height:58px;object-fit:contain}.setting-preview{display:block;max-width:180px;max-height:70px;margin-top:8px;padding:6px;border:1px solid var(--line);border-radius:8px;background:#fff}.favicon-preview{display:block;width:38px;height:38px;object-fit:contain;margin-top:8px;border:1px solid var(--line);border-radius:8px}.ticker-wrap{overflow:hidden;background:linear-gradient(90deg,#6236d9,#8054ef);color:#fff;height:34px;display:flex;align-items:center}.ticker-track{display:flex;gap:50px;white-space:nowrap;min-width:max-content;animation:tisdifTicker 28s linear infinite}.ticker-item{font-size:12px;font-weight:700}.ticker-item a{color:inherit;text-decoration:underline;text-underline-offset:2px}.ticker-offer:before{content:'🔥 ';}.ticker-warning:before{content:'⚠ ';}.ticker-success:before{content:'✓ ';}.ticker-info:before{content:'● ';}@keyframes tisdifTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}.ticker-wrap:hover .ticker-track{animation-play-state:paused}.ticker-manage{display:grid;grid-template-columns:1fr auto;gap:8px;border-bottom:1px solid var(--line);padding:10px 0}.ticker-admin-row{display:grid;grid-template-columns:3fr 110px 1.5fr 70px 90px auto;gap:7px;align-items:center}.ticker-admin-row input,.ticker-admin-row select,.mini-form input,.mini-form select{padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text)}.user-tr{grid-template-columns:2fr .7fr .7fr 1fr .6fr .6fr .7fr!important}.admin-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stack{display:flex;flex-direction:column;gap:16px}.big-number{font-size:30px;font-weight:900;margin:8px 0 18px}.mini-form{display:grid;grid-template-columns:120px 1fr 2fr auto;gap:8px}.ledger-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);align-items:center}.ledger-row span{display:flex;flex-direction:column}.ledger-row .credit{color:#059669}.ledger-row .debit{color:#dc2626}.account-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.account-stat{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--panel);display:grid;grid-template-columns:auto 1fr;gap:3px 10px;align-items:center;font-size:24px}.account-stat span{font-size:12px;color:var(--muted)}.account-stat b{grid-column:2;font-size:23px}.wallet-pay-box{display:flex;justify-content:space-between;gap:15px;align-items:center;border:1px solid #c7b7ff;background:linear-gradient(135deg,#f6f2ff,#fff);padding:15px;border-radius:12px;margin:15px 0;color:#2d2448}.wallet-pay-box div{display:flex;flex-direction:column}.wallet-pay-box span{font-size:12px;color:#6b6182}.refund-box{margin-top:7px}.refund-box summary{cursor:pointer;font-size:12px;color:#7651d6}.refund-box form{display:grid;gap:5px;margin-top:7px;min-width:190px}.refund-box input,.refund-box select{width:100%;padding:6px;border:1px solid var(--line);border-radius:6px}.btn.secondary{background:#eef2f7;color:#334155;border:1px solid #d8e0ea}.admin-form-grid .check{display:flex;flex-direction:row!important;align-items:center;gap:8px}.admin-form-grid .check input{width:auto!important}.span-2{grid-column:span 2}.danger{color:#dc2626!important}
body.theme-dark .wallet-pay-box{background:#17112c;border-color:#4f3b87;color:#f4f0ff}body.theme-dark .wallet-pay-box span{color:#bcb2d6}body.theme-dark .btn.secondary{background:#182236;color:#dbe5f5;border-color:#293750}
@media(max-width:900px){.admin-two,.account-cards{grid-template-columns:1fr}.ticker-admin-row{grid-template-columns:1fr 100px}.ticker-admin-row input:nth-of-type(2){grid-column:span 2}.mini-form{grid-template-columns:1fr 1fr}.mini-form input:nth-of-type(2){grid-column:span 2}.user-tr{grid-template-columns:1.5fr 1fr 1fr!important}.user-tr span:nth-child(4),.user-tr span:nth-child(5),.user-tr span:nth-child(6){display:none}.wallet-pay-box{align-items:flex-start;flex-direction:column}}

/* Tisdif v6.0 responsive experience, profile menus, footers and extended themes */
html,body{max-width:100%;overflow-x:hidden}body.store-body{min-height:100vh;display:flex;flex-direction:column}.site-main{flex:1;min-width:0;width:100%}.header,.preference-bar,.topbar,.ticker-wrap,.site-footer{width:100%}.header{z-index:40}.header .logo img{max-width:170px;max-height:46px}.main-nav{white-space:nowrap}.profile-menu{position:relative;margin-left:4px}.profile-trigger{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:12px;padding:6px 9px;cursor:pointer;min-width:150px;text-align:left}.profile-trigger>img,.profile-trigger>span{width:34px;height:34px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:linear-gradient(135deg,#7651d6,#1f75ff);color:#fff;font-weight:800;flex:0 0 34px}.profile-trigger>div{display:flex;flex-direction:column;min-width:0;flex:1}.profile-trigger b,.profile-trigger small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-trigger small{color:var(--muted);font-size:10px}.profile-trigger i{font-style:normal;color:var(--muted)}.profile-dropdown{position:absolute;right:0;top:calc(100% + 9px);width:210px;padding:8px;background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 45px rgba(15,23,42,.18);display:none;z-index:80}.profile-menu.open .profile-dropdown{display:block}.profile-dropdown a,.profile-dropdown button{display:block;width:100%;padding:10px 11px;border:0;border-radius:8px;background:transparent;color:var(--text);text-align:left;cursor:pointer}.profile-dropdown a:hover,.profile-dropdown button:hover{background:var(--panel2)}.profile-dropdown form{margin:0;border-top:1px solid var(--line);padding-top:5px;margin-top:5px}.profile-avatar-editor{display:flex;align-items:center;gap:16px;padding:12px 0 20px}.profile-avatar-editor img,.avatar-fallback{width:78px;height:78px;border-radius:50%;object-fit:cover;border:3px solid var(--panel2);box-shadow:0 4px 18px rgba(15,23,42,.12)}.avatar-fallback{display:grid;place-items:center;background:linear-gradient(135deg,#7651d6,#1f75ff);color:white;font-size:28px;font-weight:900}.profile-avatar-editor label{display:flex;flex-direction:column;gap:7px}.profile-avatar-editor input[type=file]{max-width:100%}
.site-footer{max-width:none!important;margin:42px 0 0!important;padding:0!important;background:var(--panel);border-top:1px solid var(--line);color:var(--muted)}.footer-grid{max-width:1180px;margin:0 auto;padding:35px 24px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.footer-grid>div{display:flex;flex-direction:column;gap:8px}.footer-bottom{border-top:1px solid var(--line);padding:14px max(24px,calc((100% - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px}.footer-bottom b{color:var(--text)}
.admin-shell{min-height:100vh}.admin-main{min-width:0;display:flex!important;flex-direction:column;min-height:100vh}.admin-content{flex:1;min-width:0;width:100%}.admin-footer{flex:0 0 auto;border-top:1px solid var(--line);padding:14px 24px;text-align:center;font-size:12px;color:var(--muted);background:var(--panel)}.admin-footer b{color:var(--text)}.admin-profile-menu{margin-left:auto}.admin-profile-menu .profile-trigger{min-width:180px}.danger-zone{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
/* Additional standard theme combinations */
body.theme-ocean{--bg:#eef7ff;--panel:#ffffff;--panel2:#e8f4ff;--line:#cfe3f5;--text:#0f2f4f;--muted:#55728e;--purple:#1677b9;--blue:#0584c7;--green:#0b9a83;background:linear-gradient(180deg,#edf8ff,#f8fbff)!important;color:var(--text)!important}body.theme-ocean .header,body.theme-ocean .admin-top{background:rgba(255,255,255,.96)!important}body.theme-ocean .btn{background:linear-gradient(135deg,#0584c7,#1565c0)!important}body.theme-ocean .ticker-wrap{background:linear-gradient(90deg,#0577b8,#0ea5a7)!important}
body.theme-emerald{--bg:#f0f9f4;--panel:#fff;--panel2:#eaf7ef;--line:#cfe7d8;--text:#17392a;--muted:#587566;--purple:#16835c;--blue:#158f6e;--green:#0b9c68;background:#f3faf6!important;color:var(--text)!important}body.theme-emerald .header,body.theme-emerald .admin-top{background:rgba(255,255,255,.96)!important}body.theme-emerald .btn{background:linear-gradient(135deg,#0e9f6e,#087f5b)!important}body.theme-emerald .ticker-wrap{background:linear-gradient(90deg,#0d8f64,#23a77a)!important}
body.theme-sunset{--bg:#fff7f2;--panel:#fff;--panel2:#fff0e7;--line:#f0d9cb;--text:#4b281b;--muted:#846558;--purple:#d85d38;--blue:#e27643;--green:#1d9a74;background:#fff9f5!important;color:var(--text)!important}body.theme-sunset .header,body.theme-sunset .admin-top{background:rgba(255,255,255,.96)!important}body.theme-sunset .btn{background:linear-gradient(135deg,#e56b3f,#c7482d)!important}body.theme-sunset .ticker-wrap{background:linear-gradient(90deg,#da5b34,#f0924d)!important}
body.theme-slate{--bg:#f3f5f7;--panel:#fff;--panel2:#edf1f4;--line:#d8dfe6;--text:#263442;--muted:#667789;--purple:#526476;--blue:#445d73;--green:#28866a;background:#f4f6f8!important;color:var(--text)!important}body.theme-slate .header,body.theme-slate .admin-top{background:rgba(255,255,255,.96)!important}body.theme-slate .btn{background:linear-gradient(135deg,#526b82,#334c63)!important}body.theme-slate .ticker-wrap{background:linear-gradient(90deg,#455c70,#687c8e)!important}
body.theme-ocean input,body.theme-ocean select,body.theme-ocean textarea,body.theme-emerald input,body.theme-emerald select,body.theme-emerald textarea,body.theme-sunset input,body.theme-sunset select,body.theme-sunset textarea,body.theme-slate input,body.theme-slate select,body.theme-slate textarea{background:#fff!important;color:var(--text)!important;border-color:var(--line)!important}.theme-ocean .panel,.theme-ocean .product,.theme-ocean .admin-panel,.theme-ocean .admin-card,.theme-emerald .panel,.theme-emerald .product,.theme-emerald .admin-panel,.theme-emerald .admin-card,.theme-sunset .panel,.theme-sunset .product,.theme-sunset .admin-panel,.theme-sunset .admin-card,.theme-slate .panel,.theme-slate .product,.theme-slate .admin-panel,.theme-slate .admin-card{background:var(--panel)!important;border-color:var(--line)!important;color:var(--text)!important}.theme-ocean .admin-sidebar,.theme-emerald .admin-sidebar,.theme-sunset .admin-sidebar,.theme-slate .admin-sidebar{background:var(--panel)!important;border-color:var(--line)!important}
/* Responsive hardening: no broken frames */
img,video,iframe,svg{max-width:100%;height:auto}.table,.admin-table,.variant-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.page-shell,.section,.brandrow,.deal{width:min(1180px,calc(100% - 32px));max-width:1180px}.admin-page-head{flex-wrap:wrap}.admin-form-grid>*{min-width:0}.form-grid>*{min-width:0}
@media(max-width:1100px){.header{gap:14px;padding-left:18px;padding-right:18px}.main-nav{gap:10px!important}.main-nav a{font-size:13px}.profile-trigger{min-width:0}.profile-trigger>div{display:none}.admin-profile-menu .profile-trigger{min-width:0}.products{grid-template-columns:repeat(4,1fr)}.brandrow{grid-template-columns:repeat(5,1fr)}.admin-sidebar{width:230px}.admin-main{margin-left:230px}}
@media(max-width:900px){.header{position:relative;flex-wrap:wrap}.header .search{order:3;flex-basis:100%;max-width:none}.main-nav{margin-left:0!important;flex:1}.profile-menu{margin-left:auto}.preference-bar form{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.preference-bar select{width:100%}.footer-grid{grid-template-columns:1fr 1fr;gap:28px}.footer-grid>div:first-child{grid-column:1/-1}.admin-sidebar{width:260px;transform:translateX(-105%);transition:.2s;z-index:100}.admin-main{margin-left:0!important}.admin-menu-open .admin-sidebar{transform:translateX(0)}.admin-menu-open:after{content:'';position:fixed;inset:0;background:#0006;z-index:90}.admin-menu-open .admin-sidebar{z-index:101}.products{grid-template-columns:repeat(3,1fr)}.brandrow{grid-template-columns:repeat(4,1fr)}}
@media(max-width:650px){body{font-size:14px}.topbar{height:34px}.header{padding:10px 12px}.main-nav a{display:none}.main-nav a[href="/cart"]{display:block}.profile-trigger{padding:5px}.profile-trigger>img,.profile-trigger>span{width:32px;height:32px;flex-basis:32px}.preference-bar{margin:8px 10px!important;padding:8px!important}.preference-bar form{grid-template-columns:1fr 1fr;gap:6px}.hero{width:calc(100% - 20px);margin:10px;padding:20px}.hero h1{font-size:30px}.hero p{font-size:16px}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.brandrow{grid-template-columns:repeat(3,1fr);width:calc(100% - 20px)}.page-shell,.section,.deal{width:calc(100% - 20px)}.footer-grid{grid-template-columns:1fr;padding:28px 16px}.footer-grid>div:first-child{grid-column:auto}.footer-bottom{padding:13px 16px;flex-direction:column;align-items:flex-start}.admin-content{padding:14px!important}.admin-top{padding-left:12px!important;padding-right:12px!important}.admin-title small{display:none}.admin-profile-menu .profile-trigger>div{display:none}.admin-two,.admin-form-grid,.form-grid,.account-cards{grid-template-columns:1fr!important}.span-2{grid-column:auto!important}.mini-form{grid-template-columns:1fr!important}.mini-form input:nth-of-type(2){grid-column:auto!important}.ticker-admin-row{grid-template-columns:1fr!important}.ticker-admin-row input:nth-of-type(2){grid-column:auto!important}.product-detail{grid-template-columns:1fr!important}.deal{margin-left:10px;margin-right:10px}.stats,.features{grid-template-columns:1fr 1fr}.profile-avatar-editor{align-items:flex-start;flex-direction:column}}
@media(max-width:390px){.products,.stats,.features{grid-template-columns:1fr}.brandrow{grid-template-columns:repeat(2,1fr)}.preference-bar form{grid-template-columns:1fr}.hero-cards{grid-template-columns:1fr 1fr}.hero-cards b:last-child{display:none}}
@media(max-width:1100px) and (min-width:901px){.admin-main{margin-left:0!important}}
@media(max-width:900px){.admin-shell{display:block!important}.admin-main{margin-left:0!important;width:100%!important}.admin-sidebar{position:fixed!important;left:0;top:0}.admin-top{width:100%}.admin-content{max-width:100%!important}}
/* Tisdif v6.3 mobile storefront navigation */
.mobile-store-menu{display:none;border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:10px;padding:8px 11px;font-size:20px;line-height:1;cursor:pointer}
.mobile-store-drawer{display:none}
@media(max-width:650px){
  .header{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}
  .mobile-store-menu{display:block;justify-self:end}
  .header .search{grid-column:1/-1;grid-row:2;width:100%}
  .header .main-nav{display:none}
  .mobile-store-drawer{margin:8px 10px 12px;padding:8px;border:1px solid var(--line);background:var(--panel);border-radius:12px;box-shadow:0 12px 30px rgba(15,23,42,.12)}
  .store-menu-open .mobile-store-drawer{display:flex;flex-direction:column}
  .mobile-store-drawer a,.mobile-store-drawer button{display:block;width:100%;padding:12px;border:0;border-radius:8px;background:transparent;color:var(--text);text-align:left;font-weight:600}
  .mobile-store-drawer a:hover,.mobile-store-drawer button:hover{background:var(--panel2)}
  .mobile-store-drawer form{margin:0;border-top:1px solid var(--line);margin-top:5px;padding-top:5px}
}

/* v6.3.1 G2A-inspired mobile storefront header */
.mobile-actions{display:none;align-items:center;gap:8px;margin-left:auto}.mobile-action,.mobile-profile-trigger{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);background:var(--panel);color:var(--text);font-size:19px;cursor:pointer}.mobile-profile-trigger{padding:4px}.mobile-profile-trigger>img,.mobile-profile-trigger>span{width:34px;height:34px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:linear-gradient(135deg,#7651d6,#1f75ff);color:#fff;font-weight:800}.mobile-profile-dropdown{right:0;top:calc(100% + 10px);width:250px}.profile-welcome{padding:12px 11px 10px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:2px}.profile-welcome b{font-size:16px;color:var(--text)}.profile-welcome small{color:var(--muted);font-size:11px}.mobile-store-menu{width:42px;height:42px;padding:9px;display:none;flex-direction:column;justify-content:center;gap:5px}.mobile-store-menu span{display:block;height:2px;width:22px;background:currentColor;border-radius:2px}.store-menu-open .mobile-store-menu span:nth-child(2){opacity:.5}
@media(max-width:650px){
  .storefront-header{display:grid;grid-template-columns:42px 1fr auto;grid-template-rows:auto auto;gap:10px;padding:10px 12px;align-items:center}
  .storefront-header .mobile-store-menu{display:flex;grid-column:1;grid-row:1;justify-self:start}
  .storefront-header .logo{grid-column:2;grid-row:1;justify-self:start;font-size:21px;min-width:0}
  .storefront-header .logo img{max-width:145px;max-height:40px}
  .storefront-header .mobile-actions{display:flex;grid-column:3;grid-row:1;justify-self:end}
  .storefront-header .search{grid-column:1/-1;grid-row:2;width:100%;max-width:none;margin:0;height:46px;border-radius:22px;background:var(--panel);border-color:var(--line)}
  .storefront-header .main-nav,.storefront-header .desktop-profile-menu{display:none}
  .mobile-store-drawer{margin:0;border-radius:0 0 12px 12px}
  .ticker-wrap{height:38px}
  .ticker-item{font-size:12px}
  .topbar{height:38px;background:var(--panel);color:var(--muted);border-bottom:1px solid var(--line);font-size:12px}
  .topbar span:nth-child(n+3){display:none}
  .preference-bar{margin-top:8px!important}
}


/* Tisdif v6.3.2 - definitive mobile header layout */
@media (max-width:650px){
  body.store-body .storefront-header{
    position:relative!important;
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr) auto!important;
    grid-template-rows:48px 48px!important;
    column-gap:10px!important;
    row-gap:10px!important;
    width:100%!important;
    min-height:106px!important;
    padding:10px 14px!important;
    margin:0!important;
    align-items:center!important;
  }
  body.store-body .storefront-header > .mobile-store-menu{
    display:flex!important;
    grid-column:1!important;
    grid-row:1!important;
    position:static!important;
    width:44px!important;
    height:44px!important;
    margin:0!important;
    padding:9px!important;
    justify-self:start!important;
    align-self:center!important;
  }
  body.store-body .storefront-header > .logo{
    grid-column:2!important;
    grid-row:1!important;
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    justify-self:start!important;
    align-self:center!important;
    font-size:21px!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.store-body .storefront-header > .logo img{max-width:150px!important;max-height:40px!important;display:block!important}
  body.store-body .storefront-header > .mobile-actions{
    grid-column:3!important;
    grid-row:1!important;
    display:flex!important;
    position:static!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    justify-self:end!important;
    align-self:center!important;
    align-items:center!important;
    gap:7px!important;
  }
  body.store-body .storefront-header > .mobile-actions .mobile-action,
  body.store-body .storefront-header > .mobile-actions .mobile-profile-trigger{
    flex:0 0 42px!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    margin:0!important;
  }
  body.store-body .storefront-header > .search{
    grid-column:1 / -1!important;
    grid-row:2!important;
    display:flex!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:46px!important;
    margin:0!important;
    padding:0!important;
    border-radius:23px!important;
    position:static!important;
  }
  body.store-body .storefront-header > .main-nav,
  body.store-body .storefront-header > .desktop-profile-menu{
    display:none!important;
    position:absolute!important;
    left:-99999px!important;
  }
  body.store-body .mobile-store-drawer{
    position:relative!important;
    display:none!important;
    width:100%!important;
    margin:0!important;
    padding:8px 12px!important;
    border-radius:0 0 14px 14px!important;
  }
  body.store-body.store-menu-open .mobile-store-drawer{display:flex!important}
  body.store-body .mobile-profile-menu{position:relative!important;margin:0!important;display:block!important}
  body.store-body .mobile-profile-dropdown{
    position:absolute!important;
    right:0!important;
    left:auto!important;
    top:calc(100% + 8px)!important;
    width:min(280px,calc(100vw - 28px))!important;
    z-index:999!important;
  }
  body.store-body .profile-menu:not(.mobile-profile-menu){display:none!important}
  body.store-body .preference-bar{margin:8px 12px!important}
}
