:root{
  --blue:#0b5cff; --blue2:#073eaf; --ink:#172033; --muted:#667085; --line:#d9e0ea;
  --bg:#f7f9fc; --card:#fff; --green:#138a5b; --amber:#b66a00; --red:#c03535; --purple:#6f42c1;
  --shadow:0 10px 30px rgba(24,39,75,.08); --radius:18px; --radius-sm:12px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.container{width:min(1240px,calc(100% - 32px));margin:auto}
.topbar{background:#fff;border-bottom:1px solid #edf0f5;font-size:13px}.topbar .container{height:36px;display:flex;align-items:center;justify-content:space-between;gap:18px}.topbar .links{display:flex;gap:18px;align-items:center}.topbar a:hover{color:var(--blue)}
.header{background:#fff;position:sticky;top:0;z-index:50;border-bottom:1px solid #e9edf4}.header-row{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:14px 0}.logo{font-weight:900;font-size:31px;letter-spacing:-2px;color:var(--blue)}.logo span{color:#18a66a}.logo small{font-size:10px;letter-spacing:.7px;color:var(--muted);display:block;margin-top:-5px;font-weight:700}.header-actions{display:flex;gap:8px;align-items:center}.icon-btn{border:1px solid var(--line);background:white;border-radius:999px;padding:10px 13px;display:flex;align-items:center;gap:8px}.icon-btn:hover{border-color:var(--blue);color:var(--blue)}
.search-shell{display:grid;grid-template-columns:1fr 150px 110px;border:2px solid var(--ink);border-radius:999px;overflow:hidden;background:#fff}.search-shell input,.search-shell select{border:0;outline:0;background:#fff;padding:12px 16px}.search-shell select{border-left:1px solid var(--line);color:#475467}.search-shell button{border:0;background:var(--blue);color:#fff;font-weight:800}.search-shell button:hover{background:var(--blue2)}
.category-nav{background:#fff;border-bottom:1px solid #edf0f5}.category-nav .container{display:flex;gap:22px;overflow:auto;white-space:nowrap;padding:10px 0;font-size:14px}.category-nav a:hover{color:var(--blue)}
main{min-height:70vh}.hero{margin:22px 0;border-radius:26px;background:linear-gradient(110deg,#e6efff 0%,#dff9ed 58%,#fff0d7 100%);padding:42px;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;min-height:310px;overflow:hidden;position:relative}.hero h1{font-size:46px;line-height:1.04;letter-spacing:-1.5px;margin:0 0 14px}.hero p{font-size:18px;color:#40506b;max-width:620px;line-height:1.55}.hero-actions{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}.btn{border:0;border-radius:999px;padding:12px 18px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn-primary{background:var(--blue);color:#fff}.btn-primary:hover{background:var(--blue2)}.btn-dark{background:var(--ink);color:#fff}.btn-outline{background:#fff;border:1px solid #9eabc0;color:var(--ink)}.btn-danger{background:#feecec;color:var(--red);border:1px solid #ffcaca}.btn-success{background:#e7f8f0;color:var(--green);border:1px solid #b9ead4}.hero-visual{display:grid;grid-template-columns:1fr 1fr;gap:14px;transform:rotate(-3deg)}.visual-card{height:125px;border-radius:22px;background:white;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:center;font-size:54px}.visual-card:nth-child(2){margin-top:24px}.visual-card:nth-child(3){margin-top:-18px}.protection-pill{display:inline-flex;gap:8px;align-items:center;border-radius:999px;background:rgba(255,255,255,.75);padding:8px 12px;font-size:13px;font-weight:800;color:#27524a}
.section{margin:34px 0}.section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}.section-title h2{margin:0;font-size:27px;letter-spacing:-.5px}.section-title p{margin:5px 0 0;color:var(--muted)}.section-title a{color:var(--blue);font-weight:700}
.cat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.cat-card{background:#fff;border:1px solid #e5eaf1;border-radius:18px;padding:20px;text-align:center;transition:.2s}.cat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#cbd7eb}.cat-icon{height:84px;border-radius:16px;background:linear-gradient(145deg,#eff4ff,#f5f7fb);display:flex;align-items:center;justify-content:center;font-size:42px;margin-bottom:14px}.cat-card strong{display:block}.cat-card span{color:var(--muted);font-size:13px}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.product-card{background:#fff;border:1px solid #e5eaf1;border-radius:18px;overflow:hidden;transition:.2s;position:relative}.product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.product-img{height:210px;background:linear-gradient(150deg,#f1f5fb,#e9eef6);display:flex;align-items:center;justify-content:center;font-size:74px;position:relative}.watch{position:absolute;right:12px;top:12px;width:38px;height:38px;border-radius:50%;border:1px solid #d6dce6;background:white;font-size:18px}.product-body{padding:15px}.product-title{font-weight:700;line-height:1.35;min-height:43px}.condition{color:var(--muted);font-size:13px;margin:7px 0}.price{font-size:23px;font-weight:900}.offer-note{font-size:12px;color:var(--green);font-weight:800;margin-top:5px}.seller-line{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:12px;border-top:1px solid #eef1f5;padding-top:10px;font-size:12px;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:800}.badge-blue{background:#eaf1ff;color:#0a4bbd}.badge-green{background:#e7f8f0;color:#117b50}.badge-amber{background:#fff3df;color:#976019}.badge-red{background:#ffe8e8;color:#a52f2f}
.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.trust-item{background:#fff;border:1px solid #e5eaf1;border-radius:18px;padding:18px}.trust-item strong{display:block;margin:8px 0 4px}.trust-item p{color:var(--muted);font-size:13px;margin:0;line-height:1.5}.trust-icon{font-size:28px}
.footer{background:#111827;color:#d7deea;margin-top:50px}.footer .container{padding:38px 0}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:30px}.footer h4{color:#fff;margin:0 0 12px}.footer p,.footer a{font-size:13px;color:#aeb8c8;line-height:1.6}.footer a{display:block;margin:7px 0}.footer-bottom{border-top:1px solid #2c3443;margin-top:28px;padding-top:20px;color:#98a4b8;font-size:12px}
.breadcrumb{font-size:13px;color:var(--muted);margin:20px 0}.content-layout{display:grid;grid-template-columns:240px 1fr;gap:22px}.filters{background:#fff;border:1px solid #e5eaf1;border-radius:18px;padding:18px;height:max-content;position:sticky;top:150px}.filter-block{padding:14px 0;border-bottom:1px solid #eef1f5}.filter-block:last-child{border:0}.filter-block h4{margin:0 0 10px}.filter-block label{display:block;margin:8px 0;font-size:13px;color:#49566b}.filter-block input[type=number]{width:100%;border:1px solid var(--line);border-radius:10px;padding:9px}.results-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.results-head h2{margin:0}.select{border:1px solid var(--line);border-radius:11px;padding:9px 12px;background:white}
.detail-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:34px;margin:22px 0}.gallery-main{height:520px;background:linear-gradient(145deg,#f0f4fa,#e7edf7);border:1px solid #e0e6ef;border-radius:22px;display:flex;align-items:center;justify-content:center;font-size:140px}.thumbs{display:flex;gap:10px;margin-top:10px}.thumb{width:76px;height:76px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:32px}.detail h1{font-size:29px;line-height:1.25;margin:0 0 10px}.meta-row{display:flex;gap:9px;flex-wrap:wrap;margin:10px 0}.detail-price{font-size:36px;font-weight:900;margin:20px 0 6px}.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.detail-actions .btn:first-child{grid-column:1/-1}.seller-panel,.protection-panel,.spec-panel{background:#fff;border:1px solid #e2e7ef;border-radius:18px;padding:18px;margin-top:14px}.seller-panel-head{display:flex;justify-content:space-between;align-items:center}.seller-name{font-weight:900}.trust-meter{height:8px;border-radius:999px;background:#edf1f6;overflow:hidden;margin-top:8px}.trust-meter span{display:block;height:100%;background:linear-gradient(90deg,#5ac68c,#15955c)}.spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.spec{background:#f8fafc;border-radius:11px;padding:10px}.spec small{color:var(--muted);display:block}.sticky-buy{position:sticky;top:140px;height:max-content}
.panel{background:white;border:1px solid #e3e8f0;border-radius:18px;padding:20px}.dashboard{display:grid;grid-template-columns:240px 1fr;gap:20px;margin:22px 0}.side-menu{background:#fff;border:1px solid #e3e8f0;border-radius:18px;padding:10px;height:max-content}.side-menu button{display:flex;width:100%;border:0;background:transparent;padding:12px;border-radius:10px;text-align:left;gap:9px}.side-menu button.active,.side-menu button:hover{background:#edf4ff;color:var(--blue);font-weight:800}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.stat{background:#fff;border:1px solid #e3e8f0;border-radius:16px;padding:16px}.stat small{color:var(--muted)}.stat b{font-size:26px;display:block;margin-top:5px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:12px;text-align:left;border-bottom:1px solid #edf0f4;font-size:13px}.table th{color:#667085;font-size:12px;text-transform:uppercase;letter-spacing:.4px}.mini-product{display:flex;align-items:center;gap:10px}.mini-img{width:46px;height:46px;border-radius:10px;background:#eef2f7;display:flex;align-items:center;justify-content:center;font-size:24px}
.form-card{background:#fff;border:1px solid #e2e7ef;border-radius:20px;padding:24px;max-width:860px;margin:24px auto}.steps{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:24px;flex-wrap:wrap}.step{border-radius:999px;padding:7px 11px;background:#edf1f6;color:#667085;font-size:12px;font-weight:800}.step.active{background:#e7efff;color:var(--blue)}.field{margin:15px 0}.field label{display:block;font-weight:800;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 13px;outline:none;background:#fff}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(11,92,255,.08)}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hint{font-size:12px;color:var(--muted);line-height:1.5}.declaration{background:#f7fafc;border:1px solid #dfe6ef;padding:14px;border-radius:12px;font-size:13px;line-height:1.6}.form-actions{display:flex;justify-content:space-between;margin-top:20px;gap:10px}
.timeline{position:relative;padding-left:22px}.timeline:before{content:"";position:absolute;left:6px;top:8px;bottom:8px;width:2px;background:#dfe5ed}.timeline-item{position:relative;padding:0 0 18px 14px}.timeline-item:before{content:"";position:absolute;left:-20px;top:5px;width:10px;height:10px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 4px #eaf0ff}.timeline-item small{color:var(--muted)}
.empty{text-align:center;padding:48px 20px;color:var(--muted)}.empty .emoji{font-size:48px}.notice{border-radius:14px;padding:14px 16px;margin:14px 0;font-size:13px;line-height:1.6}.notice-info{background:#eef5ff;border:1px solid #d5e6ff;color:#234f91}.notice-success{background:#eaf9f1;border:1px solid #c5ecd7;color:#216444}.notice-warn{background:#fff6e8;border:1px solid #ffe0ad;color:#80500f}.notice-danger{background:#fff0f0;border:1px solid #ffd0d0;color:#8a2c2c}
.modal-backdrop{position:fixed;inset:0;background:rgba(9,18,35,.54);z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:min(600px,100%);max-height:90vh;overflow:auto;background:white;border-radius:22px;padding:22px;box-shadow:0 25px 80px rgba(0,0,0,.25)}.modal h3{margin:0 0 12px}.modal-head{display:flex;align-items:center;justify-content:space-between}.close{border:0;background:#f1f3f7;border-radius:50%;width:36px;height:36px;font-size:20px}.toast{position:fixed;right:20px;bottom:20px;z-index:200;background:#172033;color:#fff;border-radius:12px;padding:13px 16px;box-shadow:var(--shadow);animation:slide .25s ease}@keyframes slide{from{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}
.kyc-box{text-align:center;max-width:620px;margin:36px auto;background:white;border:1px solid #e1e6ee;border-radius:22px;padding:30px}.kyc-icon{font-size:58px}.progress{height:8px;background:#edf1f6;border-radius:999px;overflow:hidden;margin:18px 0}.progress span{height:100%;display:block;background:var(--blue)}
.mobile-nav{display:none}
@media(max-width:980px){.header-row{grid-template-columns:auto 1fr}.search-shell{grid-column:1/-1;grid-row:2}.header-actions .hide-sm{display:none}.hero{grid-template-columns:1fr;padding:30px}.hero-visual{display:none}.product-grid{grid-template-columns:repeat(3,1fr)}.cat-grid{grid-template-columns:repeat(3,1fr)}.detail-grid{grid-template-columns:1fr}.sticky-buy{position:static}.content-layout,.dashboard{grid-template-columns:1fr}.filters,.side-menu{position:static}.side-menu{display:flex;overflow:auto}.side-menu button{min-width:max-content}.stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.container{width:min(100% - 20px,1240px)}.topbar{display:none}.header-row{padding:10px 0;gap:9px}.logo{font-size:25px}.header-actions{gap:5px}.icon-btn{padding:8px 10px}.search-shell{grid-template-columns:1fr 80px}.search-shell select{display:none}.hero{margin-top:12px;padding:24px;min-height:260px}.hero h1{font-size:34px}.hero p{font-size:15px}.cat-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,1fr);gap:10px}.product-img{height:155px;font-size:58px}.product-body{padding:12px}.price{font-size:19px}.trust-strip{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.detail-grid{gap:14px}.gallery-main{height:340px;font-size:100px}.detail-actions{grid-template-columns:1fr}.detail-actions .btn:first-child{grid-column:auto}.field-row{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.category-nav{padding-bottom:58px}.mobile-nav{display:grid;position:fixed;bottom:0;left:0;right:0;grid-template-columns:repeat(5,1fr);z-index:70;background:white;border-top:1px solid #dae0ea;padding:7px 4px 9px}.mobile-nav button{border:0;background:white;color:#5f6b7e;font-size:11px}.mobile-nav b{display:block;font-size:19px;margin-bottom:2px}.mobile-nav button.active{color:var(--blue)}body{padding-bottom:62px}}
