:root{--primary:#625bf6;--accent:#ff6b6b;--ink:#171829;--muted:#74788d;--surface:#fff;--canvas:#f5f6fb;--line:#e9eaf2;--success:#16a673;--warning:#f3a712;--danger:#ef5350;--shadow:0 12px 34px rgba(47,48,79,.08);--shadow-soft:0 6px 18px rgba(47,48,79,.06)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--canvas);color:var(--ink);font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-size:14px;min-height:100vh;padding-bottom:0}
h1,h2,h3,h4,h5,h6,.navbar-brand,.section-title{font-family:"Manrope",system-ui,sans-serif;letter-spacing:-.025em}
a{text-decoration:none}
.container{max-width:1180px}
.app-main{min-height:calc(100vh - 142px)}
.app-loader{position:fixed;inset:0;z-index:9999;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;transition:opacity .35s ease,visibility .35s ease}
.app-loader.is-hidden{opacity:0;visibility:hidden}
.loader-logo{width:82px;height:82px;border-radius:26px;display:grid;place-items:center;background:#f0efff;animation:loaderPulse 1.4s ease-in-out infinite}
.loader-logo img{width:68px;height:68px;object-fit:contain}
.loader-ring{width:34px;height:34px;border:3px solid #e5e3ff;border-top-color:var(--primary);border-radius:50%;animation:loaderSpin .75s linear infinite}
.app-loader span{font-weight:600;color:var(--muted);font-size:12px}
@keyframes loaderSpin{to{transform:rotate(360deg)}}
@keyframes loaderPulse{50%{transform:scale(1.05);box-shadow:0 16px 38px rgba(98,91,246,.18)}}
.app-header{position:sticky;top:0;z-index:1030;background:rgba(255,255,255,.93);border-bottom:1px solid rgba(233,234,242,.9);backdrop-filter:blur(20px)}
.app-header-inner{height:72px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.app-brand{display:flex;align-items:center;gap:10px;color:var(--ink);min-width:150px}
.app-brand img{width:44px;height:44px;object-fit:contain}
.app-brand strong{font-family:"Manrope";display:block;font-size:17px;line-height:1.05}
.app-brand small{display:block;color:var(--muted);font-size:9px;margin-top:4px}
.desktop-nav{display:flex;align-items:center;gap:5px;background:var(--canvas);padding:5px;border-radius:14px}
.desktop-nav a{color:var(--muted);font-weight:700;font-size:12px;padding:9px 14px;border-radius:10px}
.desktop-nav a:hover{background:#fff;color:var(--primary);box-shadow:var(--shadow-soft)}
.header-actions{display:flex;align-items:center;gap:7px}
.icon-button,.avatar-button{width:40px;height:40px;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:13px;display:grid;place-items:center;font-size:16px;box-shadow:0 3px 9px rgba(30,32,60,.03)}
.avatar-button{background:var(--primary);color:#fff;border-color:var(--primary)}
.cart-badge{position:absolute;right:-4px;top:-4px;min-width:18px;height:18px;border:2px solid #fff;border-radius:9px;background:var(--accent);color:#fff;font-size:9px;font-weight:800;display:grid;place-items:center;padding:0 4px}
.toast-wrap{position:fixed;z-index:1100;top:84px;left:50%;transform:translateX(-50%);width:min(92%,520px)}
.app-toast{display:flex;align-items:center;gap:10px;background:#fff;padding:13px 15px;border-radius:16px;box-shadow:0 18px 50px rgba(29,30,55,.16);border:1px solid var(--line);font-weight:600}
.app-toast>i{color:var(--primary);font-size:18px}.app-toast span{flex:1}.app-toast button{border:0;background:transparent;color:var(--muted)}
.app-toast-success>i{color:var(--success)}.app-toast-danger>i{color:var(--danger)}.app-toast-warning>i{color:var(--warning)}
.hero{padding:30px 0 18px;background:transparent}
.hero .row{background:linear-gradient(135deg,#6e66ff 0%,#554de9 55%,#4139c9 100%);border-radius:32px;padding:52px 48px;position:relative;overflow:hidden;box-shadow:0 24px 60px rgba(80,71,210,.22)}
.hero .row:before,.hero .row:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.09)}
.hero .row:before{width:260px;height:260px;right:-70px;top:-100px}.hero .row:after{width:160px;height:160px;left:48%;bottom:-100px}
.hero .col-lg-8,.hero .col-lg-4{position:relative;z-index:1}
.eyebrow{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);color:#fff;border-radius:99px;padding:7px 11px;font-weight:700;font-size:11px}
.hero h1{color:#fff;font-family:"Manrope";font-size:clamp(2.3rem,5.5vw,4.8rem);line-height:1.01;letter-spacing:-.06em;max-width:760px;margin:17px 0}
.hero p{font-size:15px;line-height:1.75;color:rgba(255,255,255,.76);max-width:620px}
.hero .btn-dark{background:#fff!important;border-color:#fff!important;color:var(--primary)!important}.hero .btn-outline-dark{border-color:rgba(255,255,255,.5);color:#fff}.hero .btn-outline-dark:hover{background:#fff;color:var(--primary)}
.hero-card{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);color:#fff;border-radius:24px;padding:25px;backdrop-filter:blur(12px)}
.metric{border-top:1px solid rgba(255,255,255,.2);padding-top:15px}.metric strong{font-family:"Manrope";font-size:22px}
.section{padding:34px 0}
.section-title{font-size:clamp(24px,4vw,36px);font-weight:800;line-height:1.12;margin:0}
.text-muted-custom{color:var(--muted)}
.product-card{height:100%;background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 5px 16px rgba(41,42,72,.04);transition:transform .2s ease,box-shadow .2s ease}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.product-image{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;background:#eff0f8}
.product-body{padding:15px}
.product-body h3{font-family:"Manrope";font-size:14px;line-height:1.42;min-height:40px;margin:0}
.product-body p{font-size:11px;line-height:1.5;min-height:33px}
.category-badge{display:inline-flex;align-items:center;background:#f0efff;color:var(--primary);font-size:9px;font-weight:800;border-radius:8px;padding:5px 7px;text-transform:uppercase;letter-spacing:.03em}
.price{font-family:"Manrope";font-weight:800;font-size:17px;color:var(--ink);letter-spacing:-.04em}
.old-price{font-size:10px;color:#a5a8b6;text-decoration:line-through}
.product-card .btn-sm{width:34px;height:34px;padding:0;display:grid;place-items:center;border-radius:11px;background:var(--primary);border-color:var(--primary)}
.feature-box,.app-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:0 5px 16px rgba(41,42,72,.035)}
.feature-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:14px;background:#efeeff;color:var(--primary);font-size:18px}
.page-head{background:transparent;padding:30px 0 14px}
.page-head .container{position:relative}.page-head p{font-size:13px;margin-top:6px}
.app-page-icon{width:48px;height:48px;border-radius:16px;background:#ecebff;color:var(--primary);display:grid;place-items:center;font-size:21px;margin-bottom:15px}
.form-label{font-size:11px;font-weight:700;color:#55596d;margin-bottom:7px}
.form-control,.form-select,.input-group-text{min-height:46px;border:1px solid var(--line);border-radius:13px;background:#fff;font-size:13px;padding:.72rem .85rem}
.form-control:focus,.form-select:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(98,91,246,.1)}
.input-group>.form-control:not(:last-child),.input-group>.input-group-text:not(:last-child){border-radius:13px 0 0 13px}.input-group>.btn{border-radius:0 13px 13px 0}
.btn{border-radius:13px;font-weight:700;font-size:12px;padding:.75rem 1rem}
.btn-lg{min-height:50px;font-size:13px}.btn-dark{background:var(--ink);border-color:var(--ink)}
.btn-primary-app{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 10px 24px rgba(98,91,246,.22)}.btn-primary-app:hover{background:var(--primary);border-color:var(--primary);color:#fff;filter:brightness(.95)}
.btn-soft{background:#efeeff;color:var(--primary);border-color:#efeeff}.btn-soft-danger{background:#fff0f0;color:var(--danger);border-color:#fff0f0}
.section-label{font-family:"Manrope";font-weight:800;font-size:15px;display:flex;align-items:center;gap:9px;margin-bottom:19px}.section-label span{width:26px;height:26px;display:grid;place-items:center;border-radius:9px;background:#efeeff;color:var(--primary);font-size:11px}
.payment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.payment-option{position:relative;border:1px solid var(--line);border-radius:16px;padding:14px;display:flex;align-items:center;gap:10px;cursor:pointer;transition:.2s}.payment-option:hover{border-color:#bbb7ff;background:#fbfaff}.payment-option:has(input:checked){border-color:var(--primary);background:#f6f5ff;box-shadow:0 0 0 3px rgba(98,91,246,.08)}
.payment-option input{position:absolute;right:10px;top:10px}.payment-icon{width:39px;height:39px;border-radius:12px;background:#f1f2f7;display:grid;place-items:center;color:var(--primary);font-size:17px}.payment-option strong,.payment-option small{display:block}.payment-option strong{font-size:11px}.payment-option small{font-size:8px;color:var(--muted);margin-top:3px}
.summary-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:var(--shadow-soft);position:sticky;top:90px}
.order-mini{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px dashed var(--line);font-size:11px}.order-mini span{flex:1}.order-mini small{color:var(--muted);margin-left:4px}.order-mini strong{white-space:nowrap}
.voucher-box{background:#f7f7fc;border:1px dashed #d8d7e5;padding:13px;border-radius:16px;margin:17px 0}
.price-lines{display:grid;gap:10px;margin-top:14px}.price-lines>div{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.price-lines strong{color:var(--ink)}.price-lines .grand-total{border-top:1px solid var(--line);padding-top:14px;margin-top:3px;color:var(--ink);font-size:14px;align-items:end}.grand-total strong{font-family:"Manrope";font-size:22px;color:var(--primary)}
.secure-note{text-align:center;color:var(--muted);font-size:9px;margin-top:12px}
.auth-wrap{min-height:calc(100vh - 220px);display:grid;place-items:center;padding:35px 0}.auth-card{width:min(100%,460px);background:#fff;border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:var(--shadow)}
.brand-mark{width:48px;height:48px;border-radius:16px;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:20px}
.cart-row{background:#fff;border:1px solid var(--line);border-radius:20px;padding:13px;box-shadow:0 4px 14px rgba(40,41,69,.03)}.cart-thumb{width:112px;aspect-ratio:16/11;object-fit:cover;border-radius:14px;background:#eff0f8}
.cover-detail{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:28px;background:#eff0f8;box-shadow:var(--shadow)}
.prose{color:#595d70;line-height:1.85;font-size:13px}
.status{display:inline-flex;align-items:center;border-radius:99px;padding:6px 9px;font-size:9px;font-weight:800;letter-spacing:.03em}.status-paid{background:#e7f8f1;color:#078058}.status-pending{background:#fff4d9;color:#8a6100}.status-failed,.status-expired{background:#ffeded;color:#b63035}.status-refunded{background:#eef0f4;color:#5d6170}
.empty{padding:58px 18px;text-align:center;background:#fff;border:1px dashed #d3d5e0;border-radius:23px}.empty i{font-size:38px;color:#b7bac8}
.table{font-size:12px}.table>:not(caption)>*>*{padding:.9rem .75rem;border-color:var(--line)}
.app-footer{padding:20px 0 30px}.footer-app-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}.footer-brand{display:flex;align-items:center;gap:10px}.footer-brand img{width:48px;height:48px}.footer-brand strong,.footer-brand span{display:block}.footer-brand strong{font-family:"Manrope"}.footer-brand span{font-size:10px;color:var(--muted);margin-top:3px}.footer-links{display:flex;gap:18px}.footer-links a{color:var(--muted);font-size:11px;font-weight:700}.footer-copy{grid-column:1/-1;border-top:1px solid var(--line);padding-top:15px;font-size:9px;color:var(--muted)}
.bottom-nav{display:none}.wa-float{position:fixed;right:22px;bottom:22px;z-index:1020;width:52px;height:52px;border-radius:18px;background:#20c872;color:#fff;display:grid;place-items:center;font-size:23px;box-shadow:0 12px 30px rgba(32,200,114,.3)}
.admin-shell{background:#f5f6fb;color:var(--ink);padding-bottom:0}.admin-sidebar{background:#fff;color:var(--ink);min-height:100vh;position:sticky;top:0;border-right:1px solid var(--line)}.admin-sidebar .brand-mark{background:#efeeff!important;color:var(--primary)!important}.admin-sidebar>a{color:var(--ink)!important}.admin-link{display:flex;align-items:center;gap:11px;color:#777b8e;text-decoration:none;padding:11px 12px;border-radius:13px;font-size:12px;font-weight:700}.admin-link i{font-size:16px}.admin-link:hover,.admin-link.active{background:#eeedff;color:var(--primary)}.admin-sidebar hr{border-color:var(--line)!important}.admin-shell main>header{height:72px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:19px;box-shadow:0 4px 15px rgba(41,42,72,.035)}.stat-card .value{font-family:"Manrope";font-size:28px;font-weight:800;color:var(--ink);margin-top:5px}.admin-shell .bg-dark{background:linear-gradient(135deg,var(--primary),#4941c9)!important}.admin-shell .bg-dark .value{color:#fff}.admin-shell .badge{border-radius:8px;padding:6px 8px}.admin-group-label{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#a0a3b0;font-weight:800;padding:15px 11px 6px}.setting-tabs{display:flex;gap:7px;overflow:auto;padding-bottom:4px}.setting-tabs .btn{white-space:nowrap}.secret-hint{font-size:9px;color:var(--muted)}
@media(max-width:991.98px){.desktop-nav{display:none}.hero .row{padding:38px 30px}.payment-grid{grid-template-columns:1fr}.summary-card{position:static}.admin-sidebar{min-height:auto;position:relative;border-right:0;border-bottom:1px solid var(--line)}.admin-sidebar nav{display:flex!important;overflow-x:auto;padding-bottom:6px}.admin-sidebar .admin-link{white-space:nowrap}.admin-sidebar hr{display:none}.admin-group-label{display:none}.admin-shell main>header{height:auto}}
@media(max-width:767.98px){body{padding-bottom:82px}.app-header-inner{height:64px}.app-brand img{width:40px;height:40px}.app-brand small{display:none}.app-brand strong{font-size:15px}.header-actions .icon-button:first-child{display:none}.avatar-button{display:none}.hero{padding:15px 0 8px}.hero .row{margin:0 2px;padding:26px 20px;border-radius:25px}.hero h1{font-size:34px}.hero p{font-size:12px;line-height:1.65}.hero .btn-lg{min-height:44px;font-size:11px;padding:.6rem .8rem}.hero .col-lg-4{display:none}.section{padding:25px 0}.section-title{font-size:22px}.product-body{padding:11px}.product-body h3{font-size:11px;line-height:1.4;min-height:31px}.product-body p{display:none}.product-card{border-radius:17px}.category-badge{font-size:7px;padding:4px 5px}.price{font-size:13px}.old-price{font-size:8px}.product-card .btn-sm{width:29px;height:29px;border-radius:9px}.feature-box,.app-card,.summary-card{border-radius:18px;padding:17px}.page-head{padding:22px 0 8px}.app-page-icon{width:42px;height:42px;border-radius:14px}.bottom-nav{position:fixed;z-index:1040;left:10px;right:10px;bottom:10px;height:67px;background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:21px;box-shadow:0 14px 42px rgba(36,37,65,.18);display:grid;grid-template-columns:repeat(5,1fr);padding:6px 5px calc(5px + env(safe-area-inset-bottom));backdrop-filter:blur(18px)}.bottom-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;color:#989baa;font-size:8px;font-weight:700;border-radius:14px}.bottom-nav i{font-size:18px}.bottom-nav a.active{color:var(--primary);background:#f1f0ff}.bottom-cart{position:relative}.bottom-cart b{position:absolute;right:-10px;top:-6px;background:var(--accent);color:#fff;min-width:15px;height:15px;border-radius:8px;font-size:7px;display:grid;place-items:center}.app-footer{padding-bottom:4px}.footer-app-card{grid-template-columns:1fr;padding:18px;border-radius:20px}.footer-links{display:none}.footer-copy{font-size:8px}.wa-float{width:46px;height:46px;border-radius:15px;right:16px;bottom:92px}.auth-card{border-radius:22px;padding:21px}.cart-thumb{width:84px}.toast-wrap{top:72px}.payment-option{padding:12px}.cover-detail{border-radius:20px}}
@media(max-width:420px){.container{padding-left:12px;padding-right:12px}.row.g-4{--bs-gutter-x:10px;--bs-gutter-y:10px}.product-body{padding:9px}.product-card{border-radius:15px}.product-body h3{font-size:10px}.price{font-size:12px}.section-title{font-size:21px}.hero h1{font-size:30px}.cart-row{padding:10px}.footer-app-card{padding:15px}}
