@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap');
:root{--shop-bg:#090d1a;--shop-surface:#11182b;--shop-surface2:#151f35;--shop-line:rgba(148,163,184,.15);--shop-text:#eef4ff;--shop-muted:#93a4bf;--shop-brand:#6d7cff;--shop-brand2:#9d6bff;--shop-green:#21cf9a;--shop-orange:#ff9d4d}*{box-sizing:border-box}body{margin:0;background:radial-gradient(850px 480px at 5% -12%,#273f83 0%,transparent 62%),radial-gradient(650px 400px at 100% 0%,#322262 0%,transparent 62%),var(--shop-bg)!important;color:var(--shop-text)!important;font-family:'Be Vietnam Pro',sans-serif!important}.shop-topline{height:34px;border-bottom:1px solid var(--shop-line);background:rgba(5,8,18,.68);font-size:12px}.shop-container{width:min(1240px,calc(100% - 32px));margin:auto}.shop-topline .shop-container{height:100%;display:flex;align-items:center;justify-content:space-between;color:var(--shop-muted)}.shop-topline a{color:var(--shop-muted);text-decoration:none;margin-left:16px}.shop-topline a:hover{color:#fff}.shop-header{position:sticky;top:0;z-index:100;background:rgba(9,13,26,.86);backdrop-filter:blur(18px);border-bottom:1px solid var(--shop-line)}.shop-header-row{min-height:76px;display:flex;align-items:center;gap:22px}.shop-brand{display:flex;align-items:center;gap:10px;flex:0 0 165px;max-width:165px;text-decoration:none;color:#fff;font-weight:800;font-size:16px}.shop-brand img{width:100%;height:48px;max-width:165px;object-fit:contain;object-position:left center;border-radius:0}.shop-brand-name{display:none}.shop-brand-mark{width:42px;height:42px;display:grid;place-items:center;background:linear-gradient(135deg,var(--shop-brand),var(--shop-brand2));border-radius:12px;box-shadow:0 10px 28px #6d7cff55}.shop-search{flex:1;position:relative}.shop-search input{width:100%;height:44px;border:1px solid var(--shop-line);border-radius:13px;background:#10182b;color:#fff;outline:0;padding:0 52px 0 16px;font-size:13px}.shop-search input:focus{border-color:#7788ff;box-shadow:0 0 0 4px #6d7cff20}.shop-search button{position:absolute;right:5px;top:5px;width:34px;height:34px;border:0;border-radius:9px;background:linear-gradient(135deg,var(--shop-brand),var(--shop-brand2));color:#fff}.shop-actions{display:flex;gap:8px;align-items:center}.shop-action{color:#d7e1f2;text-decoration:none;border:1px solid var(--shop-line);border-radius:10px;padding:9px 12px;font-size:13px;white-space:nowrap}.shop-action:hover{color:#fff;background:#ffffff0d}.shop-action.primary{background:linear-gradient(135deg,var(--shop-brand),var(--shop-brand2));border-color:transparent}.shop-catbar{border-top:1px solid var(--shop-line);overflow:auto}.shop-cats{display:flex;gap:4px;white-space:nowrap}.shop-cats a{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:12px 13px;color:var(--shop-muted);text-decoration:none;font-size:13px;line-height:1;border-bottom:2px solid transparent}.shop-cats a i{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;line-height:1;font-size:14px;transform:translateY(0)}.shop-cats a:hover,.shop-cats a.active{color:#fff;border-color:var(--shop-green)}.shop-layout{padding:28px 0 48px}.shop-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border:1px solid var(--shop-line);border-radius:20px;background:linear-gradient(120deg,#17264b,#17142e 70%);box-shadow:0 22px 60px #0003;margin-bottom:24px}.shop-welcome h1{margin:0 0 7px;font-size:24px;font-weight:800}.shop-welcome p{margin:0;color:#b7c4db;font-size:13px}.shop-balance{display:flex;gap:10px}.shop-balance-item{min-width:132px;padding:12px 14px;border-radius:13px;background:#0b1123a6;border:1px solid #ffffff12}.shop-balance-item span{display:block;color:var(--shop-muted);font-size:11px}.shop-balance-item strong{display:block;margin-top:4px;font-size:14px}.shop-storefront{display:block}.market-hero{min-height:308px;display:grid;grid-template-columns:1.35fr .65fr;gap:30px;align-items:center;overflow:hidden;position:relative;padding:40px 46px;border:1px solid var(--shop-line);border-radius:22px;background:linear-gradient(115deg,#1a3c78 0%,#172755 48%,#251749 100%);box-shadow:0 24px 65px #0004}.market-hero:after{content:'';position:absolute;width:380px;height:380px;right:-105px;top:-115px;border:58px solid #9e8cff16;border-radius:50%;box-shadow:0 0 0 45px #62d6ff0b,0 0 0 100px #fff3}.market-hero-copy,.market-hero-side{position:relative;z-index:1}.market-kicker{display:inline-flex;align-items:center;gap:7px;color:#8dffc9;font-family:'JetBrains Mono',monospace;font-size:11px;font-weight:700;letter-spacing:.06em}.market-hero h1{font-size:38px;line-height:1.16;margin:13px 0 12px;font-weight:800;letter-spacing:-.045em}.market-hero h1 em{font-style:normal;background:linear-gradient(90deg,#a7e8ff,#b7a1ff);background-clip:text;color:transparent}.market-hero p{max-width:515px;margin:0;color:#c2d2ed;font-size:14px;line-height:1.75}.market-hero-actions{display:flex;gap:10px;margin-top:24px}.market-main-cta,.market-alt-cta{padding:12px 16px;border-radius:11px;font-size:13px;font-weight:700;text-decoration:none}.market-main-cta{color:#10172b;background:#fff}.market-main-cta i{margin-left:7px}.market-alt-cta{color:#e5ecff;border:1px solid #ffffff2c}.market-hero-side{justify-self:end;width:205px}.hero-balance{padding:18px;border:1px solid #ffffff20;border-radius:16px;background:#09152a54;backdrop-filter:blur(8px)}.hero-balance span{font-size:11px;color:#b6c8e9}.hero-balance strong{font-size:20px;display:block;margin:6px 0 14px}.hero-balance a{color:#94ffd1;font-size:12px;text-decoration:none}.hero-points{margin-top:13px;display:grid;gap:8px;color:#d5e2f7;font-size:12px}.hero-points i{color:#7ef4bc;margin-right:5px}.market-notice{display:flex;align-items:flex-start;gap:11px;margin:20px 0;padding:14px 17px;border:1px solid #6d7cff30;border-radius:14px;background:#6d7cff10;color:#dbe4ff;font-size:13px;line-height:1.55}.market-notice i{color:#b1bdff;margin-top:3px}.market-section{margin-top:30px}.market-section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}.market-section-head span{color:#6f84a7;font-size:10px;font-weight:800;letter-spacing:.13em}.market-section-head h2{font-size:20px;margin:4px 0 0;font-weight:800;letter-spacing:-.03em}.market-section-head>a{color:#94a5ff;font-size:13px;text-decoration:none}.market-category-grid{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--shop-line);border-radius:17px;overflow:hidden;background:#111a2e}.market-category{min-height:130px;padding:17px 9px 13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-decoration:none;color:#cbd7e9;border-right:1px solid var(--shop-line);border-bottom:1px solid var(--shop-line);font-size:12px;text-align:center;transition:.2s}.market-category:nth-child(5n){border-right:0}.market-category:hover{background:#6d7cff12;color:#fff}.market-category div{width:52px;height:52px;padding:8px;display:grid;place-items:center;border-radius:15px;background:#0b1223}.market-category img{max-width:100%;max-height:100%;object-fit:contain}.market-products{padding-top:3px}.market-filter{padding:8px 11px;background:#10192d;border:1px solid var(--shop-line);border-radius:9px;color:#aebddd;font-size:11px}.market-filter i{color:#ffd06c;margin-right:4px}.market-product-group{margin-top:26px}.market-product-group-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.market-product-group-head>div{display:flex;align-items:center;gap:9px}.market-product-group-head h3{font-size:16px;margin:0;font-weight:800}.market-product-group-head>a{font-size:12px;color:#9eacff;text-decoration:none}.market-category-dot{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#14203a}.market-category-dot img{max-width:21px;max-height:21px;object-fit:contain}.market-catalog-shell{display:block!important;padding:0!important}.product-card-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}.product-card-grid>.catalog-product-card{width:auto!important;max-width:none!important;flex:none!important}.product-card,.catalog-product-card{overflow:hidden;border:1px solid var(--shop-line);border-radius:14px;background:#10192c;transition:transform .2s,border-color .2s,box-shadow .2s}.product-card:hover,.catalog-product-card:hover{transform:translateY(-4px);border-color:#7b8cff80;box-shadow:0 18px 32px #0004}.product-visual{height:142px!important;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(135deg,#273c73,#1e2248)}.product-visual:before{content:'';position:absolute;width:125px;height:125px;border-radius:40px;background:#ffffff0b;transform:rotate(25deg)}.product-category-image{z-index:1;width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 8px 10px #0006)}.product-label{position:absolute;z-index:2;top:8px;left:8px;padding:3px 6px;border-radius:5px;background:#ff8b47;color:white;font-size:8px;font-weight:800;letter-spacing:.04em}.product-flag{position:absolute;z-index:2;left:8px;bottom:8px;width:20px;height:14px;object-fit:cover;border-radius:2px;box-shadow:0 2px 5px #0007}.product-stock-top{position:absolute;z-index:2;right:7px;bottom:7px;padding:3px 6px;border-radius:5px;background:#08111cbd;color:#8bffca;font-size:9px;font-weight:700}.product-info{padding:11px}.product-info h4{height:36px;overflow:hidden;margin:0;font-size:12px;line-height:1.48;font-weight:700;color:#eff5ff}.product-info p{height:30px;overflow:hidden;margin:6px 0;color:#8294b1;font-size:10px;line-height:1.45}.product-meta{display:flex;justify-content:space-between;gap:4px;margin:9px 0 10px;padding-top:8px;border-top:1px solid var(--shop-line);color:#8497b5;font-size:9px}.product-meta i{color:#8b9aff}.product-bottom{display:flex;align-items:end;justify-content:space-between;gap:7px}.product-bottom span{display:block;font-size:9px;color:#71849f}.product-bottom strong{display:block;color:#9dffcf;font-family:'JetBrains Mono',monospace;font-size:12px;white-space:nowrap}.product-buy{border:0;border-radius:8px;padding:7px 9px;background:linear-gradient(135deg,#6578ff,#9d69ff);color:#fff;font-size:10px;font-weight:800}.product-buy:hover{filter:brightness(1.1)}.product-buy.soldout{background:#27324a;color:#8fa0bb}.is-soldout{opacity:.72}.modal-package-list{display:grid;gap:8px;max-height:305px;overflow:auto;padding-right:3px}.modal-package{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto 16px;gap:10px;align-items:center;text-align:left;padding:11px 12px;border:1px solid var(--shop-line);border-radius:11px;background:#0b1222;color:#dce7f8;transition:.18s}.modal-package:hover,.modal-package.selected{border-color:#7d8dff;background:#6d7cff16}.modal-package.is-unavailable{opacity:.48;cursor:not-allowed}.modal-package-main{min-width:0}.modal-package b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.modal-package small{display:block;margin-top:3px;color:#8194b2;font-size:10px}.modal-package strong{color:#9dffcf;font-family:'JetBrains Mono',monospace;font-size:11px}.modal-package>i{color:#8496bd;font-size:12px}.shop-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px}.shop-side{position:sticky;top:150px;height:max-content;border:1px solid var(--shop-line);border-radius:18px;background:#0e1527;padding:10px}.shop-side-label{font-size:11px;color:#7788a5;font-weight:800;text-transform:uppercase;letter-spacing:.1em;padding:14px 12px 7px}.shop-side a{display:flex;gap:10px;align-items:center;padding:10px 12px;border-radius:10px;text-decoration:none;color:#b8c5da;font-size:13px}.shop-side a:hover,.shop-side a.active{color:#fff;background:#6d7cff18}.shop-side i{font-size:16px;color:#9eb1ff}.shop-content{min-width:0}.page-title,.breadcrumb-header,.burger-btn,#sidebar,.floating-language{display:none!important}.alert{border-radius:14px!important;border:1px solid #6d7cff30!important;background:#6d7cff12!important;color:#dbe4ff!important}.element-wrapper{margin-bottom:25px}.element-header{font-size:18px;font-weight:800;letter-spacing:-.02em;margin:0 0 13px;color:#fff}.card,.element-box{background:linear-gradient(145deg,#121b30,#0e1527)!important;border:1px solid var(--shop-line)!important;border-radius:17px!important;box-shadow:0 14px 35px #0002!important}.card-body{color:var(--shop-text)}.table{color:#dce7f8!important;margin:0}.table thead th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#8fa1be;border-bottom-color:var(--shop-line)!important}.table>:not(caption)>*>*{border-bottom-color:var(--shop-line)!important;padding:15px 13px}.table tbody tr:hover{background:#ffffff05}.btn{border-radius:10px!important;font-weight:700!important}.btn-success,.btn-primary{border:0!important;background:linear-gradient(135deg,var(--shop-brand),var(--shop-brand2))!important}.btn-secondary{background:#25314b!important}.modal-content{background:#111a30!important;color:#edf3ff!important;border:1px solid var(--shop-line)!important;border-radius:18px!important}.modal-header,.modal-footer{border-color:var(--shop-line)!important}.form-control{background:#0b1222!important;border-color:var(--shop-line)!important;color:#fff!important;border-radius:10px!important}.footer{color:#70809a!important;border-top:1px solid var(--shop-line);padding-top:22px}.floating-support{bottom:22px!important;right:22px!important}.support-btn{padding:11px 16px!important;border-radius:13px!important;background:#111a30!important}.close-btn{display:none!important}@media(max-width:1050px){.product-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:900px){.shop-grid{grid-template-columns:1fr}.shop-side{display:none}.market-hero{grid-template-columns:1fr;padding:30px}.market-hero-side{justify-self:start;width:100%;display:flex;align-items:center;gap:20px}.hero-balance{min-width:210px}.market-category-grid{grid-template-columns:repeat(4,1fr)}.market-category:nth-child(5n){border-right:1px solid var(--shop-line)}.market-category:nth-child(4n){border-right:0}.shop-welcome{padding:18px}.shop-balance{display:none}.shop-header-row{gap:12px}.shop-brand span{display:none}.shop-actions .shop-action:not(.primary){display:none}}@media(max-width:700px){.product-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.product-visual{height:118px}.product-info{padding:9px}.product-buy{padding:6px 7px}.product-buy i{display:none}}@media(max-width:600px){.shop-topline{display:none}.shop-header-row{min-height:65px}.shop-layout{padding-top:17px}.shop-search{order:3;flex-basis:100%;margin-bottom:12px}.shop-header-row{flex-wrap:wrap}.shop-cats a{padding:9px 11px}.market-hero{min-height:auto;padding:25px 20px;border-radius:17px}.market-hero h1{font-size:28px}.market-hero-side{display:block}.hero-balance{margin-top:6px}.hero-points{display:none}.market-category-grid{grid-template-columns:repeat(3,1fr)}.market-category{min-height:112px}.market-category:nth-child(4n){border-right:1px solid var(--shop-line)}.market-category:nth-child(3n){border-right:0}.market-section-head h2{font-size:18px}.shop-welcome h1{font-size:19px}.shop-container{width:min(100% - 22px,1240px)}}@media(max-width:460px){.product-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-visual{height:135px}}
/* Authenticated storefront account actions. Admin is permission-gated in PHP. */
.shop-action.admin-panel{border-color:rgba(255,190,76,.38);color:#ffd585;background:rgba(255,174,45,.08)}
.shop-action.logout{border-color:rgba(255,99,124,.32);color:#ff9bad;background:rgba(255,75,105,.07)}
.shop-action.admin-panel:hover{color:#fff;background:rgba(255,174,45,.18)}
.shop-action.logout:hover{color:#fff;background:rgba(255,75,105,.18)}
@media(max-width:1050px){.shop-actions{gap:6px}.shop-action{padding:9px 10px}.shop-action.admin-panel,.shop-action.logout{font-size:0}.shop-action.admin-panel i,.shop-action.logout i{font-size:15px;margin:0}}
@media(max-width:900px){.shop-actions .shop-action.admin-panel,.shop-actions .shop-action.logout{display:inline-flex!important;align-items:center;justify-content:center}.shop-actions .shop-action.primary{display:inline-flex!important}.shop-actions .shop-action:not(.primary):not(.admin-panel):not(.logout){display:none!important}}
@media(max-width:600px){.shop-action.primary{max-width:120px;overflow:hidden;text-overflow:ellipsis}.shop-actions{margin-left:auto}}

/* Slightly roomier client interface: preserve the marketplace proportions while improving readability. */
.shop-container{width:min(1360px,calc(100% - 48px))}.shop-topline{height:38px;font-size:13px}.shop-header-row{min-height:82px;gap:25px}.shop-brand{flex-basis:178px;max-width:178px;font-size:17px}.shop-brand img{height:52px;max-width:178px}.shop-search input{height:48px;font-size:14px;padding-left:18px}.shop-search button{top:5px;right:5px;width:38px;height:38px;font-size:16px}.shop-action{padding:10px 14px;font-size:14px}.shop-cats a{min-height:50px;padding:13px 15px;font-size:14px}.shop-layout{padding:32px 0 54px}.market-hero{min-height:330px;padding:44px 50px}.market-kicker{font-size:12px}.market-hero h1{font-size:41px}.market-hero p{font-size:15px}.market-main-cta,.market-alt-cta{padding:13px 18px;font-size:14px}.market-notice{padding:15px 18px;font-size:14px}.market-section{margin-top:34px}.market-section-head h2{font-size:22px}.market-section-head>a{font-size:14px}.market-category{min-height:140px;font-size:13px}.market-category div{width:56px;height:56px}.market-filter{padding:9px 12px;font-size:12px}.market-product-group-head h3{font-size:18px}.product-card-grid{gap:15px!important}.product-visual{height:152px!important}.product-info{padding:13px}.product-info h4{font-size:13px;line-height:1.5}.product-info p{font-size:11px}.product-meta{font-size:10px}.product-bottom span{font-size:10px}.product-bottom strong{font-size:13px}.product-buy{padding:8px 11px;font-size:11px}.element-header{font-size:20px}.shop-side{padding:12px}.shop-side a{padding:11px 13px;font-size:14px}.table thead th{font-size:12px}.table>:not(caption)>*>*{padding:16px 14px;font-size:14px}@media(max-width:600px){.shop-container{width:min(100% - 28px,1360px)}.shop-topline{height:auto}.shop-header-row{min-height:68px}.market-hero{padding:28px 22px}.market-hero h1{font-size:31px}.market-hero p{font-size:14px}.product-card-grid{gap:10px!important}.market-category{min-height:120px}}

/* Dedicated search screen */
.search-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:34px 40px;border:1px solid var(--shop-line);border-radius:20px;background:radial-gradient(460px 240px at 100% 0,#6f7fff28,transparent 68%),linear-gradient(120deg,#152d5a,#171831);box-shadow:0 20px 55px #0003}.search-hero h1{margin:10px 0 7px;font-size:30px;letter-spacing:-.035em}.search-hero h1 em{font-style:normal;color:#b6c1ff}.search-hero p{margin:0;color:#b4c4de;font-size:14px}.search-page-form{width:min(460px,45%);position:relative;display:flex;align-items:center;padding:5px 5px 5px 15px;border:1px solid #91a0ff58;border-radius:13px;background:#091326}.search-page-form>i{color:#9daaff;font-size:16px}.search-page-form input{width:100%;height:43px;padding:0 12px;border:0;outline:0;background:transparent;color:#fff;font-size:14px}.search-page-form button{height:43px;padding:0 15px;border:0;border-radius:9px;background:linear-gradient(135deg,var(--shop-brand),var(--shop-brand2));color:#fff;font-size:12px;font-weight:800;white-space:nowrap}.search-results{margin-top:30px}.search-empty{padding:65px 25px;text-align:center;border:1px dashed #7182ff70;border-radius:18px;background:#111a2d}.search-empty>i{font-size:40px;color:#9ba8ff}.search-empty h3{margin:13px 0 6px;font-size:19px}.search-empty p{margin:0 auto 18px;max-width:440px;color:var(--shop-muted);font-size:13px}.search-empty a{display:inline-block;padding:10px 14px;border-radius:9px;background:#6d7cff20;color:#c9d0ff;text-decoration:none;font-size:12px;font-weight:700}@media(max-width:800px){.search-hero{display:block;padding:27px 24px}.search-page-form{width:100%;margin-top:20px}.search-hero h1{font-size:25px}}

/* Client footer is outside the side/content grid, so it stays full-width and never appears beneath the left navigation. */
.shop-footer{margin-top:0;border-top:1px solid var(--shop-line);background:#080d19}.shop-footer-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#8192ad;font-size:13px}.shop-footer p{margin:0}.shop-footer a{color:#aebcff;text-decoration:none}.shop-footer span{color:#ff647b}@media(max-width:600px){.shop-footer-inner{min-height:88px;flex-direction:column;justify-content:center;gap:6px;font-size:12px}}

/* SweetAlert purchase feedback */
.swal2-container.swal2-center>.swal2-popup{background:#111b30!important;color:#edf3ff!important;border:1px solid #344565!important;border-radius:18px!important;box-shadow:0 24px 70px rgba(0,0,0,.55)!important}.swal2-title{color:#f2f6ff!important;font-size:21px!important}.swal2-html-container{color:#afbed5!important;font-size:14px!important}.swal2-confirm{border:0!important;border-radius:9px!important;background:linear-gradient(135deg,#687bff,#9a6cff)!important;color:#fff!important;font-weight:800!important;box-shadow:0 8px 20px #687bff44!important}.swal2-cancel{border:1px solid #485b7a!important;border-radius:9px!important;background:#1b2942!important;color:#d9e5fb!important;font-weight:700!important}.swal2-popup .swal2-close{color:#aebbd1!important}.swal2-popup .swal2-close:hover{color:#fff!important;background:#ffffff12!important}.swal2-icon.swal2-success{border-color:#45d99b!important;color:#45d99b!important}.swal2-icon.swal2-error{border-color:#ff7181!important;color:#ff7181!important}.swal2-icon.swal2-warning{border-color:#f5bd58!important;color:#f5bd58!important}
/* Reuse MewIT's branded page-loader treatment in every SweetAlert loading state. */
.swal2-loader{position:relative!important;width:92px!important;height:92px!important;margin:20px auto!important;border:4px solid #26335b!important;border-top-color:#72e8ff!important;border-right-color:#aa7cff!important;border-radius:50%!important;background:transparent!important;box-shadow:0 0 26px #6f78ff88!important;animation:neomod-swal-spin .75s linear infinite!important}.swal2-loader:before{content:''!important;position:absolute!important;inset:9px!important;border:2px dashed #c4a0ff!important;border-radius:50%!important;animation:neomod-swal-spin-reverse 1.25s linear infinite!important}.swal2-loader:after{content:''!important;position:absolute!important;inset:19px!important;border-radius:50%!important;background:url('img/mewit-loader-logo.png') center/contain no-repeat!important;filter:drop-shadow(0 3px 8px #0008)!important;animation:neomod-swal-pulse 1s ease-in-out infinite!important}@keyframes neomod-swal-spin{to{transform:rotate(360deg)}}@keyframes neomod-swal-spin-reverse{to{transform:rotate(-360deg)}}@keyframes neomod-swal-pulse{0%,100%{transform:scale(.9);opacity:.8}50%{transform:scale(1.08);opacity:1}}.swal2-backdrop-show{background:rgba(3,7,15,.68)!important}


/* Persistent light theme */
.shop-theme-toggle{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--shop-line);border-radius:10px;padding:9px 11px;background:transparent;color:#d7e1f2;font:700 12px 'Be Vietnam Pro',sans-serif;cursor:pointer}.shop-theme-toggle:hover{background:#ffffff0d;color:#fff}
html[data-theme="light"]{--shop-bg:#f4f7fc;--shop-surface:#fff;--shop-surface2:#f7f9fe;--shop-line:rgba(32,52,82,.14);--shop-text:#19233a;--shop-muted:#697893;--shop-brand:#5369e8;--shop-brand2:#8155da}html[data-theme="light"] body{background:radial-gradient(850px 480px at 5% -12%,#dbe5ff 0%,transparent 62%),radial-gradient(650px 400px at 100% 0%,#e9dfff 0%,transparent 62%),var(--shop-bg)!important;color:var(--shop-text)!important}html[data-theme="light"] .shop-topline{background:#fff}html[data-theme="light"] .shop-header{background:#fffffff0}html[data-theme="light"] .shop-brand,html[data-theme="light"] .shop-cats a:hover,html[data-theme="light"] .shop-cats a.active{color:#18233d}html[data-theme="light"] .shop-search input,html[data-theme="light"] .form-control{background:#fff!important;color:#19233a!important}html[data-theme="light"] .shop-action,html[data-theme="light"] .shop-theme-toggle{color:#43516b;background:#fff}html[data-theme="light"] .shop-action.primary{color:#fff;background:linear-gradient(135deg,var(--shop-brand),var(--shop-brand2))}html[data-theme="light"] .shop-welcome,html[data-theme="light"] .card,html[data-theme="light"] .element-box{background:linear-gradient(145deg,#fff,#f2f5fb)!important;box-shadow:0 14px 35px #24385b12!important}html[data-theme="light"] .market-category-grid,html[data-theme="light"] .product-card,html[data-theme="light"] .catalog-product-card{background:#fff}html[data-theme="light"] .market-category{color:#43516b}html[data-theme="light"] .market-category div,html[data-theme="light"] .market-filter{background:#f1f4fa}html[data-theme="light"] .market-hero{background:linear-gradient(115deg,#5474c9,#7259a5)}html[data-theme="light"] .product-info h4,html[data-theme="light"] .element-header{color:#202b43}html[data-theme="light"] .product-info p,html[data-theme="light"] .product-meta{color:#71809a}html[data-theme="light"] .table{color:#33425d!important}html[data-theme="light"] .table tbody tr:hover{background:#eef2fa}html[data-theme="light"] .modal-content{background:#fff!important;color:#1f2b42!important}html[data-theme="light"] .shop-footer{background:#fff}html[data-theme="light"] .swal2-container.swal2-center>.swal2-popup{background:#fff!important;color:#1d2b43!important;border-color:#dce4f2!important}html[data-theme="light"] .swal2-title{color:#1d2b43!important}html[data-theme="light"] .swal2-html-container{color:#63718a!important}@media(max-width:700px){.shop-theme-toggle span{display:none}.shop-theme-toggle{padding:9px}}


/* Persistent light theme */
.shop-theme-toggle{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--shop-line);border-radius:10px;padding:9px 11px;background:transparent;color:#d7e1f2;font:700 12px 'Be Vietnam Pro',sans-serif;cursor:pointer}.shop-theme-toggle:hover{background:#ffffff0d;color:#fff}
html[data-theme="light"]{--shop-bg:#f4f7fc;--shop-surface:#fff;--shop-surface2:#f7f9fe;--shop-line:rgba(32,52,82,.14);--shop-text:#19233a;--shop-muted:#697893;--shop-brand:#5369e8;--shop-brand2:#8155da}html[data-theme="light"] body{background:radial-gradient(850px 480px at 5% -12%,#dbe5ff 0%,transparent 62%),radial-gradient(650px 400px at 100% 0%,#e9dfff 0%,transparent 62%),var(--shop-bg)!important;color:var(--shop-text)!important}html[data-theme="light"] .shop-topline{background:#fff}html[data-theme="light"] .shop-header{background:#fffffff0}html[data-theme="light"] .shop-brand,html[data-theme="light"] .shop-cats a:hover,html[data-theme="light"] .shop-cats a.active{color:#18233d}html[data-theme="light"] .shop-search input,html[data-theme="light"] .form-control{background:#fff!important;color:#19233a!important}html[data-theme="light"] .shop-action,html[data-theme="light"] .shop-theme-toggle{color:#43516b;background:#fff}html[data-theme="light"] .shop-action.primary{color:#fff;background:linear-gradient(135deg,var(--shop-brand),var(--shop-brand2))}html[data-theme="light"] .shop-welcome,html[data-theme="light"] .card,html[data-theme="light"] .element-box{background:linear-gradient(145deg,#fff,#f2f5fb)!important;box-shadow:0 14px 35px #24385b12!important}html[data-theme="light"] .market-category-grid,html[data-theme="light"] .product-card,html[data-theme="light"] .catalog-product-card{background:#fff}html[data-theme="light"] .market-category{color:#43516b}html[data-theme="light"] .market-category div,html[data-theme="light"] .market-filter{background:#f1f4fa}html[data-theme="light"] .market-hero{background:linear-gradient(115deg,#5474c9,#7259a5)}html[data-theme="light"] .product-info h4,html[data-theme="light"] .element-header{color:#202b43}html[data-theme="light"] .product-info p,html[data-theme="light"] .product-meta{color:#71809a}html[data-theme="light"] .table{color:#33425d!important}html[data-theme="light"] .table tbody tr:hover{background:#eef2fa}html[data-theme="light"] .modal-content{background:#fff!important;color:#1f2b42!important}html[data-theme="light"] .shop-footer{background:#fff}html[data-theme="light"] .swal2-container.swal2-center>.swal2-popup{background:#fff!important;color:#1d2b43!important;border-color:#dce4f2!important}html[data-theme="light"] .swal2-title{color:#1d2b43!important}html[data-theme="light"] .swal2-html-container{color:#63718a!important}@media(max-width:700px){.shop-theme-toggle span{display:none}.shop-theme-toggle{padding:9px}}


/* Light-theme completeness: legacy client components and page-local banking widgets. */
html[data-theme="light"] .shop-side{background:linear-gradient(180deg,#fff,#f5f7fc);box-shadow:0 14px 32px rgba(35,57,93,.08)}html[data-theme="light"] .shop-side a{color:#53627c}html[data-theme="light"] .shop-side a:hover,html[data-theme="light"] .shop-side a.active{color:#384fc8;background:#e9edff}html[data-theme="light"] .support-btn{background:#fff!important;color:#33425d!important;border:1px solid var(--shop-line)!important}html[data-theme="light"] .btn-secondary{background:#e6ebf5!important;color:#31405a!important}html[data-theme="light"] .badge.bg-dark{background:#35435b!important}html[data-theme="light"] .page-heading,html[data-theme="light"] .breadcrumb-item,html[data-theme="light"] .text-muted{color:#718099!important}html[data-theme="light"] .dataTable-top,html[data-theme="light"] .dataTable-container{background:#fff!important;color:#465571!important;border-color:var(--shop-line)!important}html[data-theme="light"] .dataTable-input,html[data-theme="light"] .dataTable-selector{background:#fff!important;color:#31405a!important;border-color:#d8e0ed!important}html[data-theme="light"] .dataTable-table>thead>tr>th{background:#f1f4fa!important;color:#62718c!important}html[data-theme="light"] .dataTable-table>tbody>tr>td{background:#fff!important;color:#374660!important;border-color:#e4e9f2!important}html[data-theme="light"] .dataTable-table>tbody>tr:hover>td{background:#f6f8fc!important}html[data-theme="light"] .pagination a,html[data-theme="light"] .page-link{background:#fff!important;color:#485873!important;border-color:#dce3ef!important}
html[data-theme="light"] .bank-card{border-color:#dce3ef!important;background:radial-gradient(circle at top right,rgba(83,105,232,.16),transparent 38%),linear-gradient(145deg,#fff,#f4f7fc)!important;box-shadow:0 18px 42px rgba(39,61,99,.1)!important}html[data-theme="light"] .bank-left{background:transparent!important}html[data-theme="light"] .bank-label{color:#71809a!important}html[data-theme="light"] .bank-value{color:#25344e!important}html[data-theme="light"] .btn-copy{background:#eef2f8!important;color:#52647f!important;border:1px solid #dde5f0!important}html[data-theme="light"] .btn-copy:hover{background:#566ce7!important;color:#fff!important}html[data-theme="light"] .qr-side{background:#f7f9fd!important;border-left:1px solid #e0e6ef!important}html[data-theme="light"] .qr-title{color:#697a95!important}html[data-theme="light"] .history-card{background:linear-gradient(145deg,#fff,#f6f8fc)!important;border-color:#dce3ef!important;box-shadow:0 16px 40px rgba(35,57,93,.1)!important}html[data-theme="light"] .history-card .card-title{color:#24324a!important}html[data-theme="light"] .history-card .table thead th{color:#667792!important}html[data-theme="light"] .history-card .table-hover tbody tr:hover{background:#f4f7fb!important}

/* Final light-mode override for the bank history component (page contains legacy inline styles). */
html[data-theme="light"] .history-card,html[data-theme="light"] .history-card .card-header,html[data-theme="light"] .history-card .card-body,html[data-theme="light"] .history-card .table-responsive{background:#fff!important;color:#263550!important;border-color:#dce4f0!important}html[data-theme="light"] .history-card .card-header{border-bottom:1px solid #e6ebf3!important}html[data-theme="light"] .history-card .card-title,html[data-theme="light"] .history-card .fw-semibold{color:#24324a!important}html[data-theme="light"] .history-card .text-muted{color:#71809a!important}html[data-theme="light"] .history-card .dataTable-wrapper,html[data-theme="light"] .history-card .dataTable-container{background:#fff!important;border-color:#dce4f0!important}html[data-theme="light"] .history-card .dataTable-top{background:#f7f9fc!important;border-color:#dce4f0!important}html[data-theme="light"] .history-card table,html[data-theme="light"] .history-card table tbody,html[data-theme="light"] .history-card table tr,html[data-theme="light"] .history-card table td{background:#fff!important;color:#35445e!important}html[data-theme="light"] .history-card table thead th{background:#eef2f8!important;color:#657694!important;border-color:#dce4f0!important}html[data-theme="light"] .history-card table tbody tr:hover td{background:#f7f9fd!important}html[data-theme="light"] .history-card .dataTable-search input,html[data-theme="light"] .history-card .dataTable-selector{background:#fff!important;color:#35445e!important;border-color:#cfd9e7!important}


/* Light theme contrast pass ? customer text, forms and secondary buttons. */
html[data-theme="light"]{--shop-text:#17243b;--shop-muted:#52637f;--shop-line:rgba(42,63,100,.18)}html[data-theme="light"] .shop-content,html[data-theme="light"] .shop-container{color:#17243b}html[data-theme="light"] .shop-content .text-muted,html[data-theme="light"] .shop-content small,html[data-theme="light"] .shop-footer{color:#53647f!important}html[data-theme="light"] .shop-content .form-label,html[data-theme="light"] .shop-content label{color:#314560!important;font-weight:700!important}html[data-theme="light"] .shop-content .btn-secondary{background:#e2e8f1!important;color:#344763!important;border:1px solid #cbd6e4!important}html[data-theme="light"] .shop-content .btn-outline-primary{border-color:#6479e8!important;color:#435bc8!important}html[data-theme="light"] .shop-content .btn-outline-primary:hover{background:#5b70e3!important;color:#fff!important}html[data-theme="light"] .shop-content .btn-primary,html[data-theme="light"] .shop-content .btn-success{color:#fff!important;text-shadow:0 1px 1px rgba(20,28,60,.22)!important}html[data-theme="light"] .shop-content .badge{font-weight:700!important}html[data-theme="light"] .shop-content .badge.bg-light{color:#3c4e6a!important}html[data-theme="light"] a{color:#405aca}html[data-theme="light"] a:hover{color:#2f47b7}


/* FULL LIGHT MODE CONTRACT: every legacy customer page keeps readable foreground/actions. */
html[data-theme="light"] body{background:#f4f6fb!important;color:#17243b!important}html[data-theme="light"] .shop-layout,html[data-theme="light"] .shop-container,html[data-theme="light"] .container,html[data-theme="light"] .container-fluid{color:#17243b}html[data-theme="light"] p,html[data-theme="light"] .text-muted,html[data-theme="light"] small,html[data-theme="light"] .small,html[data-theme="light"] .form-text{color:#52637f!important;opacity:1!important}html[data-theme="light"] h1,html[data-theme="light"] h2,html[data-theme="light"] h3,html[data-theme="light"] h4,html[data-theme="light"] h5,html[data-theme="light"] h6,html[data-theme="light"] strong,html[data-theme="light"] b{color:#17243b!important}html[data-theme="light"] label,html[data-theme="light"] .form-label,html[data-theme="light"] .col-form-label{color:#334967!important;font-weight:700!important}html[data-theme="light"] .card,html[data-theme="light"] .modal-content,html[data-theme="light"] .dropdown-menu{background:#fff!important;color:#17243b!important;border-color:#d7e1ee!important}html[data-theme="light"] .card-header,html[data-theme="light"] .card-footer,html[data-theme="light"] .modal-header,html[data-theme="light"] .modal-footer{background:#fbfcff!important;border-color:#dce5ef!important}html[data-theme="light"] .table{color:#263952!important}html[data-theme="light"] .table thead th{color:#465a78!important;font-weight:800!important;border-color:#dbe4ef!important}html[data-theme="light"] .table td,html[data-theme="light"] .table th{border-color:#e0e7f0!important}html[data-theme="light"] .table-striped tbody tr:nth-of-type(odd),html[data-theme="light"] .table-hover tbody tr:hover{background:#f3f6ff!important;color:#1e314d!important}html[data-theme="light"] .form-control,html[data-theme="light"] .form-select,html[data-theme="light"] .custom-select,html[data-theme="light"] textarea,html[data-theme="light"] select{background:#fff!important;color:#203650!important;border-color:#c6d3e3!important;font-weight:600!important}html[data-theme="light"] .input-group-text{background:#edf2f8!important;color:#405572!important;border-color:#c6d3e3!important;font-weight:700!important}html[data-theme="light"] .btn{font-weight:700!important;opacity:1!important}html[data-theme="light"] .btn-light,html[data-theme="light"] .btn-default{background:#e7edf5!important;color:#304766!important;border-color:#c8d5e5!important}html[data-theme="light"] .btn-outline-secondary{color:#405775!important;border-color:#9bacbf!important}html[data-theme="light"] .btn-outline-secondary:hover{background:#5168db!important;color:#fff!important}html[data-theme="light"] .pagination .page-link{color:#4058bf!important;background:#fff!important;border-color:#ced9e7!important;font-weight:700!important}html[data-theme="light"] .pagination .page-item.active .page-link{color:#fff!important;background:#5369dd!important;border-color:#5369dd!important}html[data-theme="light"] .alert{color:#273b56!important;font-weight:600!important;border-color:#cbd8e7!important}html[data-theme="light"] .alert-info{background:#e8f3ff!important}html[data-theme="light"] .alert-warning{background:#fff5dc!important}html[data-theme="light"] .alert-success{background:#e4f7ed!important}html[data-theme="light"] .alert-danger{background:#ffebee!important}html[data-theme="light"] [style*="color: #fff"],html[data-theme="light"] [style*="color:#fff"]{color:#17243b!important}html[data-theme="light"] .btn-primary [style*="color"],html[data-theme="light"] .btn-success [style*="color"],html[data-theme="light"] .btn-danger [style*="color"]{color:#fff!important}


/* Header navigation as a rounded floating rail ? no full-width divider bars. */
.shop-header{border-bottom:0!important;background:transparent!important;backdrop-filter:none!important;box-shadow:none!important}.shop-header-row{position:relative;margin-top:10px;min-height:66px;padding:8px 13px 8px 17px;border:1px solid var(--shop-line);border-radius:18px;background:rgba(12,19,37,.92);box-shadow:0 14px 36px rgba(0,0,0,.22);backdrop-filter:blur(18px)}.shop-catbar{border-top:0!important;overflow:visible}.shop-cats{width:min(1360px,calc(100% - 48px));margin:8px auto 0;padding:5px 8px;border:1px solid var(--shop-line);border-radius:14px;background:rgba(12,19,37,.8);box-shadow:0 9px 24px rgba(0,0,0,.14);backdrop-filter:blur(16px);overflow:auto}.shop-cats a{min-height:38px;border-bottom:0!important;border-radius:9px;padding:10px 13px}.shop-cats a:hover,.shop-cats a.active{background:rgba(109,124,255,.16);box-shadow:inset 0 0 0 1px rgba(125,141,255,.28)}.shop-topline{border-bottom:0!important;background:transparent!important}.shop-topline .shop-container{border-bottom:1px solid var(--shop-line)}html[data-theme="light"] .shop-header-row{background:rgba(255,255,255,.9);border-color:rgba(61,83,122,.17);box-shadow:0 14px 32px rgba(43,62,100,.1)}html[data-theme="light"] .shop-cats{background:rgba(255,255,255,.86);border-color:rgba(61,83,122,.16);box-shadow:0 9px 22px rgba(43,62,100,.07)}html[data-theme="light"] .shop-cats a:hover,html[data-theme="light"] .shop-cats a.active{background:#e9edff;box-shadow:inset 0 0 0 1px #c9d2ff}@media(max-width:600px){.shop-header-row{margin-top:7px;border-radius:15px;padding:7px 10px}.shop-cats{width:min(100% - 28px,1360px);margin-top:7px;border-radius:12px}.shop-cats a{min-height:36px;padding:9px 11px}}


/* Remove all full-bleed header bands; only centered rounded header pieces may draw surfaces. */
.shop-topline,.shop-header,.shop-catbar{width:100%;border:0!important;box-shadow:none!important;background:none!important}.shop-topline{height:auto!important;margin-top:7px}.shop-topline .shop-container{width:min(1360px,calc(100% - 48px));min-height:26px;padding:0 10px;border:0!important;border-radius:10px;background:transparent;color:var(--shop-muted)}.shop-header{position:relative!important;top:auto!important;z-index:100}.shop-header-row{width:min(1360px,calc(100% - 48px));margin:7px auto 0!important}.shop-catbar{padding:0!important}.shop-cats{display:flex!important}.shop-cats::-webkit-scrollbar{height:0}html[data-theme="light"] .shop-topline .shop-container{background:transparent!important}@media(max-width:600px){.shop-topline{display:none}.shop-header-row,.shop-cats{width:min(100% - 28px,1360px)}}


/* Light storefront hero: deliberately high contrast; do not inherit generic light text rules. */
html[data-theme="light"] .market-hero{background:linear-gradient(112deg,#315fc8 0%,#4f63c6 47%,#7750ac 100%)!important;border-color:#5370c9!important;box-shadow:0 20px 42px rgba(49,79,157,.25)!important}html[data-theme="light"] .market-hero:after{border-color:rgba(228,223,255,.27)!important;box-shadow:0 0 0 45px rgba(221,234,255,.10),0 0 0 100px rgba(255,255,255,.04)!important}html[data-theme="light"] .market-hero h1{color:#fff!important;text-shadow:0 2px 8px rgba(19,30,86,.23)!important}html[data-theme="light"] .market-hero h1 em{background:linear-gradient(90deg,#e5f7ff,#eadcff)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important}html[data-theme="light"] .market-hero p{color:#edf3ff!important;font-weight:500!important;text-shadow:0 1px 3px rgba(20,28,80,.18)!important}html[data-theme="light"] .market-hero .market-kicker{color:#bfffe5!important;font-weight:800!important}html[data-theme="light"] .market-main-cta{background:#fff!important;color:#2549ac!important;box-shadow:0 8px 18px rgba(20,28,82,.2)!important}html[data-theme="light"] .market-alt-cta{color:#fff!important;border-color:rgba(255,255,255,.62)!important;background:rgba(22,39,113,.15)!important}html[data-theme="light"] .hero-balance{background:rgba(18,29,85,.58)!important;border-color:rgba(255,255,255,.3)!important;box-shadow:0 10px 22px rgba(19,25,79,.18)!important}html[data-theme="light"] .hero-balance span{color:#e0e8ff!important}html[data-theme="light"] .hero-balance strong{color:#fff!important}html[data-theme="light"] .hero-balance a{color:#aaffdc!important;font-weight:800!important}html[data-theme="light"] .hero-points{color:#fff!important;font-weight:650!important}html[data-theme="light"] .hero-points i{color:#80ffd0!important}html[data-theme="light"] .market-notice{background:#e8edff!important;border-color:#b8c8ff!important;color:#2a426b!important;font-weight:700!important;box-shadow:0 8px 18px rgba(42,67,128,.07)!important}html[data-theme="light"] .market-notice i{color:#405ed3!important}


/* Celestial theme transition: supplied lunar PNG; only lighting and motion are handled by CSS. */
.shop-celestial{position:fixed;z-index:0;left:0;top:50vh;width:clamp(360px,34vw,590px);height:clamp(360px,34vw,590px);transform:translate(-55%,-50%) scale(.98);pointer-events:none;overflow:visible;opacity:1;transition:transform .82s cubic-bezier(.16,.84,.2,1),opacity .5s ease,filter .75s ease;background:url('images/celestial/moon.png') center/contain no-repeat;filter:drop-shadow(0 22px 30px rgba(29,65,178,.36)) drop-shadow(0 0 50px rgba(88,115,255,.24));opacity:.5}
.shop-celestial:before{content:"";position:absolute;inset:12%;border-radius:50%;background:radial-gradient(circle at 41% 35%,rgba(228,237,255,.19),transparent 40%),linear-gradient(135deg,transparent 43%,rgba(3,9,25,.24) 94%);mix-blend-mode:soft-light;pointer-events:none}.shop-celestial:after{content:"";position:absolute;inset:-115%;border-radius:50%;background:radial-gradient(circle at 50% 50%,rgba(146,177,255,.22) 0,rgba(100,132,255,.13) 19%,rgba(76,103,226,.065) 39%,transparent 66%);filter:blur(27px);z-index:-1;pointer-events:none;animation:celestial-breathe 5.6s ease-in-out infinite}.shop-celestial span{display:none}
html[data-theme="light"] .shop-celestial{transform:translate(-55%,-50%) scale(.98);background:url('images/celestial/sun.png') center/contain no-repeat;filter:drop-shadow(0 20px 32px rgba(255,161,12,.42)) drop-shadow(0 0 68px rgba(255,188,32,.35));opacity:.5}html[data-theme="light"] .shop-celestial:before{background:radial-gradient(circle at 41% 35%,rgba(255,255,218,.34),transparent 42%),linear-gradient(135deg,transparent 44%,rgba(184,59,0,.19) 94%)}html[data-theme="light"] .shop-celestial:after{background:radial-gradient(circle at 50% 50%,rgba(255,243,147,.56) 0,rgba(255,205,49,.26) 18%,rgba(255,175,18,.11) 39%,transparent 67%)}html[data-theme="light"] .shop-celestial span{display:none}
html.theme-switching .shop-celestial{visibility:hidden;opacity:0!important;transition:none!important}html.theme-switching body{transition:background .82s ease,color .68s ease}html.theme-orbit-finish .shop-celestial{visibility:visible;opacity:1!important;transform:translate(-55%,-50%) scale(.98);transition:none!important}html[data-theme="light"].theme-switching .shop-celestial{transform:translate(-55%,-50%) scale(.98)}html[data-theme="light"].theme-orbit-finish .shop-celestial{transform:translate(-55%,-50%) scale(.98)}.shop-layout,.shop-header,.shop-topline,.shop-footer{position:relative;z-index:1}@keyframes celestial-rays{to{transform:rotate(360deg)}}@keyframes celestial-breathe{50%{transform:scale(1.07);opacity:.72}}@media(max-width:700px){.shop-celestial{width:245px;height:245px;transform:translate(-63%,-50%) scale(.9);opacity:.7}html[data-theme="light"] .shop-celestial{transform:translate(-63%,-50%) scale(.9)}}


/* Theme switch orbit visuals. Paths are driven by the Web Animations API in Header.php. */
.shop-orbit-fx{position:fixed;z-index:9998;inset:0;pointer-events:none;overflow:hidden;opacity:0}.orbital-body{position:absolute;display:block;left:-6vw;top:50vh;width:clamp(360px,34vw,590px);height:clamp(360px,34vw,590px);margin:0;border-radius:50%;will-change:left,top,transform,opacity;transform:translate(-50%,-50%);transform-origin:50% 50%}.orbital-body.moon{background:url('images/celestial/moon.png') center/contain no-repeat;filter:drop-shadow(0 15px 28px rgba(75,108,255,.48))}.orbital-body.sun{background:url('images/celestial/sun.png') center/contain no-repeat;filter:drop-shadow(0 16px 30px rgba(255,171,14,.58))}.orbital-body.sun:after{content:"";position:absolute;inset:-20%;z-index:-1;border-radius:50%;background:radial-gradient(circle,rgba(255,234,114,.62),rgba(255,178,14,.18) 39%,transparent 70%);filter:blur(12px)}@media(max-width:700px){.shop-orbit-fx{display:none}}
/* Keep the orbit inside the scenery plane: visible above the body paint, below every interface layer. */
.shop-topline,.shop-header,.shop-layout,.shop-footer,.floating-support{position:relative;z-index:9999}.shop-orbit-fx{mix-blend-mode:normal}



/* API inventory uses the same marketplace-card language as local products. */
.api-catalog-card .api-product-visual{background:linear-gradient(135deg,#17264d,#263e77)}.api-catalog-card .product-category-image{object-fit:cover}.api-product-fallback{width:100%;height:100%;display:grid;place-items:center;color:#b9ccff;font-size:52px;background:radial-gradient(circle at 38% 30%,rgba(130,162,255,.5),transparent 31%),linear-gradient(135deg,#172c5f,#101a35)}.api-source-label{display:block;margin-bottom:7px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#91adff}.api-source-label i{font-size:14px}html[data-theme="light"] .api-catalog-card .api-product-visual{background:linear-gradient(135deg,#dce8ff,#edf3ff)}html[data-theme="light"] .api-source-label{color:#4262b8}

/* Customer API documentation */
.api-developer-page{max-width:1240px;margin:0 auto;padding:30px 24px 72px}.api-developer-hero{display:flex;justify-content:space-between;gap:28px;padding:44px;overflow:hidden;border:1px solid rgba(130,156,255,.27);border-radius:28px;background:radial-gradient(circle at 85% 15%,rgba(105,88,255,.31),transparent 32%),linear-gradient(135deg,#111d3d,#16113a);color:#eef3ff}.api-eyebrow,.api-section-tag{display:block;color:#9eb6ff;font-size:11px;font-weight:900;letter-spacing:.12em}.api-developer-hero h1{margin:12px 0 14px;font-size:clamp(28px,4vw,48px);line-height:1.08}.api-developer-hero h1 em{font-style:normal;color:#a695ff}.api-developer-hero p{max-width:620px;margin:0;color:#bec9e4;line-height:1.7}.api-hero-code{align-self:center;min-width:285px;padding:18px;border:1px solid rgba(171,189,255,.24);border-radius:16px;background:rgba(4,10,30,.54)}.api-hero-code span{display:block;margin-bottom:6px;color:#75e4c1;font-size:11px;font-weight:900}.api-hero-code code{color:#e9edff;overflow-wrap:anywhere}.api-key-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:22px 0 30px;padding:24px 28px;border:1px solid rgba(140,159,229,.24);border-radius:20px;background:rgba(18,28,60,.78)}.api-key-panel span,.api-key-panel small{display:block;color:#9daac9;font-size:12px}.api-key-panel strong{display:block;margin:7px 0;font:700 16px ui-monospace,Consolas,monospace;color:#fff;letter-spacing:.04em}.api-key-actions{display:flex;gap:10px;flex-wrap:wrap}.api-key-actions button{padding:10px 14px;border:1px solid rgba(157,177,255,.37);border-radius:11px;background:transparent;color:#dce5ff;font-weight:800}.api-key-actions .api-copy-key{background:#6f5cff;border-color:#6f5cff;color:white}.api-doc-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:40px}.api-doc-nav{position:sticky;top:22px;height:max-content;padding:10px;border:1px solid rgba(140,159,229,.2);border-radius:14px;background:rgba(18,28,60,.63)}.api-doc-nav a{display:block;padding:10px 12px;border-radius:9px;color:#aebad5;font-size:13px;font-weight:700}.api-doc-nav a:hover,.api-doc-nav a.active{background:rgba(111,92,255,.22);color:#fff}.api-doc-content section{padding:0 0 38px;margin-bottom:36px;border-bottom:1px solid rgba(140,159,229,.18)}.api-doc-content h2{margin:8px 0 12px;color:#f1f4ff;font-size:27px}.api-doc-content p{color:#b9c4dd;line-height:1.75}.api-doc-content code{font-family:ui-monospace,Consolas,monospace}.api-doc-content>section>pre,.api-response pre{padding:16px;overflow:auto;border:1px solid rgba(140,159,229,.21);border-radius:12px;background:#080e23;color:#dbe5ff;line-height:1.6}.api-method{display:flex;gap:10px;align-items:center;margin:16px 0;padding:10px 12px;border-radius:10px;background:rgba(57,215,157,.09);color:#dce9ff}.api-method b{padding:4px 7px;border-radius:5px;background:#197652;color:#e8fff6;font-size:11px}.api-method.post b{background:#6953c9}.api-note,.api-warning{display:flex;gap:12px;padding:15px;border-radius:12px;line-height:1.6}.api-note{background:rgba(80,145,255,.11);color:#cbdcff}.api-warning{background:rgba(255,179,60,.12);color:#f7d9a1}.api-note i,.api-warning i{font-size:20px}.api-response span{font-size:11px;font-weight:900;color:#6ee4b8}.api-error-list>div{display:flex;gap:18px;padding:13px 0;border-bottom:1px solid rgba(140,159,229,.13);color:#bbc6df}.api-error-list code{min-width:245px;color:#ffb5c3}@media(max-width:800px){.api-developer-page{padding:20px 14px 50px}.api-developer-hero,.api-key-panel{display:block;padding:27px}.api-hero-code{margin-top:22px}.api-key-actions{margin-top:18px}.api-doc-layout{display:block}.api-doc-nav{display:flex;overflow:auto;position:static;margin-bottom:26px}.api-doc-nav a{white-space:nowrap}.api-error-list>div{display:block}.api-error-list span{display:block;margin-top:7px}}html[data-theme="light"] .api-developer-hero{border-color:#cbd7f4;background:radial-gradient(circle at 85% 15%,#dcd6ff,transparent 32%),linear-gradient(135deg,#f8faff,#eef2ff);color:#14214a}html[data-theme="light"] .api-developer-hero p,html[data-theme="light"] .api-doc-content p{color:#53617d}html[data-theme="light"] .api-hero-code,html[data-theme="light"] .api-doc-content>section>pre,html[data-theme="light"] .api-response pre{background:#eef3ff;border-color:#ccd8f1;color:#26385f}html[data-theme="light"] .api-key-panel,html[data-theme="light"] .api-doc-nav{background:#fff;border-color:#d7e0f2}html[data-theme="light"] .api-key-panel strong,html[data-theme="light"] .api-doc-content h2{color:#17254b}html[data-theme="light"] .api-doc-nav a{color:#53617d}html[data-theme="light"] .api-doc-nav a:hover,html[data-theme="light"] .api-doc-nav a.active{color:#283a7b;background:#e8edff}


/* Mobile storefront repair: the desktop five-column declaration is !important, so mobile must deliberately override it. */
@media (max-width: 700px){
  .product-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .market-section-head{align-items:flex-end;gap:12px}
  .market-filter{flex:0 0 auto;max-width:142px;line-height:1.35}
  .catalog-product-card,.product-card{min-width:0}
  .product-visual{height:148px!important}
  .product-info{padding:12px!important}
  .product-info h4{height:auto;min-height:38px;font-size:13px!important;line-height:1.45!important}
  .product-info p{height:31px;font-size:10px!important}
  .product-meta{font-size:9px!important}
  .product-bottom{align-items:center}
  .product-bottom strong{font-size:12px!important}
  .product-buy{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:8px 9px!important;font-size:10px!important;white-space:nowrap}
  .product-buy i{display:inline!important}
}
@media (max-width: 380px){
  .product-card-grid{grid-template-columns:1fr!important}
  .product-visual{height:160px!important}
  .product-info h4{font-size:14px!important}
  .product-info p{font-size:11px!important}
  .product-meta{font-size:10px!important}
}


/* Mobile API developer page: long secrets and document navigation must never force a horizontal page overflow. */
@media (max-width: 700px){
  .api-developer-page{max-width:100%;overflow:hidden;padding:18px 14px 48px}
  .api-developer-hero{padding:25px 20px;border-radius:20px}
  .api-key-panel{padding:22px 26px;overflow:hidden}
  .api-key-panel>div:first-child{min-width:0;width:100%}
  .api-key-panel strong{max-width:100%;font-size:14px;line-height:1.45;letter-spacing:.02em;overflow-wrap:anywhere;word-break:break-all}
  .api-key-panel small{line-height:1.45}
  .api-key-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:9px}
  .api-key-actions button{min-width:0;padding:11px 8px;font-size:13px;white-space:nowrap}
  .api-doc-nav{width:100%;max-width:100%;padding:8px;gap:4px;scrollbar-width:thin;scrollbar-color:#6476df transparent;-webkit-overflow-scrolling:touch}
  .api-doc-nav a{flex:0 0 auto;padding:10px 12px;font-size:12px}
  .api-doc-content{min-width:0}
  .api-doc-content section{overflow:hidden}
  .api-doc-content>section>pre,.api-response pre{max-width:100%;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}
}
@media (max-width: 380px){
  .api-key-panel{padding:19px 18px}
  .api-key-actions{grid-template-columns:1fr}
}


/* SweetAlert2 light contract: its own inline/component palette must not retain dark surfaces. */
html[data-theme="light"] .swal2-container{color:#223754!important}html[data-theme="light"] .swal2-container.swal2-backdrop-show{background:rgba(23,38,67,.38)!important}html[data-theme="light"] .swal2-container .swal2-popup,html[data-theme="light"] .swal2-container.swal2-center>.swal2-popup{background:#fff!important;color:#223754!important;border:1px solid #d3deed!important;box-shadow:0 24px 70px rgba(28,48,87,.27)!important}html[data-theme="light"] .swal2-container .swal2-title{color:#203756!important}html[data-theme="light"] .swal2-container .swal2-html-container{color:#5b6d88!important}html[data-theme="light"] .swal2-container .swal2-close{color:#60728f!important}html[data-theme="light"] .swal2-container .swal2-close:hover{color:#263c60!important;background:#edf2fa!important}html[data-theme="light"] .swal2-container .swal2-confirm{color:#fff!important;background:linear-gradient(135deg,#536be6,#805bda)!important;box-shadow:0 8px 20px rgba(83,107,230,.27)!important}html[data-theme="light"] .swal2-container .swal2-cancel{color:#405672!important;background:#eef3f9!important;border:1px solid #cbd7e7!important}html[data-theme="light"] .swal2-container .swal2-input,html[data-theme="light"] .swal2-container .swal2-textarea,html[data-theme="light"] .swal2-container .swal2-select{background:#fff!important;color:#273e5d!important;border-color:#c9d6e7!important;box-shadow:none!important}html[data-theme="light"] .swal2-container .swal2-validation-message{background:#fff0f2!important;color:#a8354c!important}html[data-theme="light"] .swal2-container .swal2-loader{border-color:#d5ddeb!important;border-top-color:#4b7ee7!important;border-right-color:#9162df!important;box-shadow:0 0 24px rgba(82,108,221,.32)!important}html[data-theme="light"] .swal2-container .swal2-icon.swal2-success{border-color:#43ae83!important;color:#249368!important}html[data-theme="light"] .swal2-container .swal2-icon.swal2-error{border-color:#e56d7d!important;color:#d74e63!important}html[data-theme="light"] .swal2-container .swal2-icon.swal2-warning{border-color:#e6ad45!important;color:#c98a1d!important}


/* Overlay stacking: client scenery/UI is intentionally elevated; modal feedback must sit above it. */
.swal2-container{z-index:30000!important}.modal{z-index:29000!important}.modal-backdrop{z-index:28990!important}


/* Every Bootstrap modal is moved directly under body by Footer.php. This avoids
   transformed/positioned storefront ancestors creating isolated stacking
   contexts on iOS Safari. One global layer contract then works for all dialogs. */
body.modal-open .modal-backdrop{z-index:28990!important}
body.modal-open>.modal{z-index:29000!important}
body.modal-open>.modal.show{display:block!important;pointer-events:auto!important}
body.modal-open>.modal .modal-dialog,body.modal-open>.modal .modal-content{pointer-events:auto!important}
body.modal-open .shop-footer,body.modal-open .shop-topline,body.modal-open .shop-header,body.modal-open .shop-layout,body.modal-open .floating-support{z-index:1!important}
@supports(-webkit-touch-callout:none){body.modal-open>.modal{position:fixed!important;inset:0!important;-webkit-overflow-scrolling:touch}body.modal-open>.modal .modal-dialog{position:relative!important;z-index:1!important}}


/* API docs navigation belongs above the documentation, not in a left rail. */
.api-doc-layout{display:block!important}.api-doc-nav{position:static!important;display:flex!important;align-items:center;gap:6px;width:100%;margin:0 0 32px;padding:8px;overflow-x:auto;border-radius:14px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.api-doc-nav a{flex:0 0 auto;white-space:nowrap;padding:10px 14px}.api-doc-content{max-width:920px;margin:0 auto}@media(max-width:700px){.api-doc-nav{margin-bottom:24px}.api-doc-nav a{padding:9px 11px;font-size:12px}}


/* Light header rails: reduce the blue-grey outline so they read as soft surfaces. */
html[data-theme="light"] .shop-header-row{border-color:rgba(76,98,139,.10)!important;box-shadow:0 12px 28px rgba(43,62,100,.075)!important}html[data-theme="light"] .shop-cats{border-color:rgba(76,98,139,.09)!important;box-shadow:0 8px 20px rgba(43,62,100,.055)!important}html[data-theme="light"] .shop-header-row:hover,html[data-theme="light"] .shop-cats:hover{border-color:rgba(76,98,139,.14)!important}

/* Compact native scrollbar while preserving wheel, touchpad and touch scrolling. */
html{scrollbar-width:thin;scrollbar-color:#66718b transparent}html::-webkit-scrollbar{width:2px;height:2px}html::-webkit-scrollbar-button{display:none;width:0;height:0}html::-webkit-scrollbar-track{background:transparent}html::-webkit-scrollbar-thumb{min-height:26px;background:#66718b;border-radius:999px}html::-webkit-scrollbar-thumb:hover{background:#8793ad}html[data-theme="light"]{scrollbar-color:#a4b0c5 transparent}html[data-theme="light"]::-webkit-scrollbar-thumb{background:#a4b0c5}
