:root{--c:#ec4f8b;--d:#c42a68;--bg:#fff7fa;--t:#2b1a22;--soft:#ffe6ef;--line:#f6d3e0}
*{box-sizing:border-box}
body{margin:0;font-family:"Hind Siliguri","Noto Sans Bengali","Kalpurush",system-ui,sans-serif;background:var(--bg);color:var(--t);line-height:1.6}
.wrap{max-width:1050px;margin:auto;padding:20px 16px}
.topbar{background:var(--d);color:#fff;text-align:center;padding:8px;font-size:14px}
.hero{background:linear-gradient(180deg,#fff,#fff0f5)}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}
.gallery #big{width:100%;border-radius:14px;aspect-ratio:1/1;object-fit:cover;background:#eee}
.thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.thumbs img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;cursor:pointer;border:2px solid transparent}
.thumbs img:hover{border-color:var(--c)}
.badge{background:var(--soft);color:var(--d);padding:3px 12px;border-radius:20px;font-size:13px}
h1{font-size:30px;margin:10px 0 4px}
h2{font-size:24px;margin:34px 0 12px}
.sub{color:#7a5967}.center{text-align:center}
.price b{font-size:38px;color:var(--d)}
.price small{display:block;color:#7a5967}
.btn{display:inline-block;background:var(--c);color:#fff;border:0;padding:14px 28px;border-radius:10px;font-size:18px;font-weight:700;cursor:pointer;text-decoration:none;font-family:inherit}
.btn:hover{background:var(--d)}.btn.sm{padding:8px 16px;font-size:15px}
.quick{list-style:none;padding:0;margin:18px 0 0}
.desc{font-size:17px}
.feat{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.feat div{background:#fff;padding:16px;border-radius:12px;box-shadow:0 2px 10px #ec4f8b22}
.feat span{font-size:28px}.feat h3{margin:4px 0}.feat p{margin:0;color:#6f5360;font-size:15px}
.spec{width:100%;background:#fff;border-collapse:collapse;border-radius:10px;overflow:hidden}
.spec td{padding:10px 14px;border-bottom:1px solid var(--line)}.spec td:first-child{font-weight:700;width:38%;background:var(--soft)}
.order-grid{max-width:520px;margin:auto}
.card{background:#fff;padding:22px;border-radius:14px;box-shadow:0 4px 18px #ec4f8b26}
label{display:block;font-weight:600;margin-bottom:14px}
input,textarea,select{width:100%;padding:11px 12px;border:1px solid #efc4d4;border-radius:8px;font-size:16px;font-family:inherit;margin-top:5px;background:#fff}
input:focus,textarea:focus,select:focus{outline:2px solid var(--c);border-color:var(--c)}
.sum{background:var(--soft);border-radius:10px;padding:12px 14px;margin-bottom:16px}
.sum div{display:flex;justify-content:space-between;padding:3px 0}
.sum .tot{border-top:1px dashed #e7a8c0;margin-top:6px;padding-top:8px;font-size:19px;color:var(--d)}
.card .btn{width:100%}
.err{background:#fde8e8;color:#a11;padding:10px 14px;border-radius:8px;margin-bottom:14px}
footer{text-align:center;padding:24px;color:#a0808d;font-size:14px}
.thanks{text-align:center;max-width:560px}
.tick{width:80px;height:80px;border-radius:50%;background:#22b573;color:#fff;font-size:48px;line-height:80px;margin:20px auto}
.big{font-size:20px;font-weight:600;margin:4px 0}
.receipt{text-align:left;margin:22px 0}
.row{display:flex;justify-content:space-between;gap:12px;padding:5px 0}
.row.tot{font-size:18px;color:var(--d);border-top:1px dashed #e7a8c0;margin-top:4px;padding-top:8px}
.admin{max-width:1200px}
.ahead{display:flex;justify-content:space-between;align-items:center}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}
.stat{background:#fff;border-radius:12px;padding:14px;text-decoration:none;color:inherit;box-shadow:0 2px 10px #ec4f8b22}
.stat small{display:block;color:#7a5967}.stat b{font-size:34px;color:var(--d)}.stat em{display:block;font-style:normal;color:#7a5967;font-size:14px}
.stat.hot b{color:#e0561b}
.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.filters input,.filters select{width:auto;margin:0;padding:8px 10px}
.tablewrap{overflow-x:auto;background:#fff;border-radius:12px;box-shadow:0 2px 10px #ec4f8b22}
.orders{width:100%;border-collapse:collapse;min-width:900px}
.orders th{background:var(--soft);text-align:left;padding:10px;font-size:14px}
.orders td{padding:10px;border-top:1px solid #fbe7ee;vertical-align:top}
.orders .addr{max-width:260px}.orders small{color:#8a6b78}
.orders select{padding:5px;margin:0;width:auto}
.del{background:none;border:0;cursor:pointer;font-size:18px}
@media(max-width:760px){
  .hero-grid{grid-template-columns:1fr}.feat{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}
  h1{font-size:25px}
}

.cap{text-align:center;color:var(--d);font-weight:600;margin:10px 0 0;min-height:26px}
.thumbs{grid-template-columns:repeat(5,1fr)}
.thumbs img.on{border-color:var(--c)}
.tea{background:var(--soft);border-radius:12px;padding:12px 16px;margin:14px 0;font-weight:600}

.flash{padding:10px 14px;border-radius:8px;margin:12px 0;font-size:15px}
.flash.ok{background:#e4f7ec;color:#166a3b}.flash.err{background:#fde8e8;color:#a11}
.chip{display:inline-block;padding:2px 10px;border-radius:20px;font-size:13px;font-weight:700}
.chip.ok{background:#e4f7ec;color:#166a3b}
.btn.ghost{background:#fff;color:var(--d);border:1px solid var(--c);margin-top:4px}
.cr form{margin:0}.cr .btn{width:auto;padding:7px 12px;font-size:14px}.muted{color:#a0808d}

.stats.three{grid-template-columns:repeat(3,1fr)}
.stat.active{outline:3px solid var(--c)}
.stat.s-conf b{color:#d98300}.stat.s-ship b{color:#6a4fd6}.stat.s-del b{color:#1f9d63}
.st-New{background:#fff3cd}.st-Confirmed{background:#ffe2b8}.st-SenttoCourier,.st-Shipped{background:#e4dcff}
.st-Delivered{background:#d9f5e6}.st-Cancelled{background:#fde1e1}
.hist{color:#8a6b78}.hist.warn{color:#c0281c;font-weight:700}
.chk{font-size:13px;color:var(--d)}
.risk{padding:10px 14px;border-radius:8px;font-weight:700;margin:12px 0}
.risk.good{background:#e4f7ec;color:#166a3b}.risk.mid{background:#fff3cd;color:#8a5a00}
.risk.bad{background:#fde1e1;color:#a11}.risk.new{background:#eef1ff;color:#3b4aa0}
@media(max-width:760px){.stats.three{grid-template-columns:1fr}}

/* ---- customer check page ---- */
.cc-hero{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:14px 0;border-left:8px solid #ccc}
.cc-hero.good{border-color:#1f9d63}.cc-hero.mid{border-color:#f0a400}.cc-hero.bad{border-color:#d62d20}.cc-hero.new{border-color:#6b7bd6}
.cc-id small{color:#8a6b78}.cc-num{font-size:32px;font-weight:800;letter-spacing:1px;color:var(--t)}
.cc-rate{display:flex;gap:16px;align-items:center}
.gauge{--rc:#1f9d63;width:96px;height:96px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--rc) calc(var(--p)*1%),#eee 0)}
.cc-hero.mid .gauge{--rc:#f0a400}.cc-hero.bad .gauge{--rc:#d62d20}
.gauge span{width:72px;height:72px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:22px;font-weight:800}
.gauge.none{background:#e3e6fb}.gauge.none span{font-size:16px;color:#3b4aa0}
.stars{font-size:26px;letter-spacing:2px;line-height:1;background:linear-gradient(90deg,#f5a623 var(--p),#ddd var(--p));-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.rating{margin:2px 0 6px;color:#7a5967}
.verdict{font-weight:700;max-width:260px}
.cc-hero.good .verdict{color:#166a3b}.cc-hero.mid .verdict{color:#8a5a00}.cc-hero.bad .verdict{color:#b3261e}.cc-hero.new .verdict{color:#3b4aa0}
.tri{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:6px}
.tb{background:#fff;border-radius:12px;padding:14px;text-align:center;box-shadow:0 2px 10px #ec4f8b22}
.tb small{display:block;color:#7a5967}.tb b{font-size:36px}
.tb.tt b{color:var(--t)}.tb.tc b{color:#1f9d63}.tb.tx b{color:#d62d20}
.crow{padding:9px 0;border-top:1px solid #fbe7ee}.crow:first-of-type{border-top:0}
.cn{font-weight:700}
.cbar{display:flex;height:10px;border-radius:6px;overflow:hidden;background:#eee;margin:5px 0}
.cbar i.g{background:#1f9d63}.cbar i.r{background:#d62d20}
.cs{font-size:14px;color:#6f5360}.gc{color:#1f9d63;font-weight:700}.rc{color:#d62d20;font-weight:700}
.rchip{display:inline-block;padding:1px 8px;border-radius:12px;font-size:12px;font-weight:700}
.rchip.good{background:#e4f7ec;color:#166a3b}.rchip.mid{background:#fff3cd;color:#8a5a00}
.rchip.bad{background:#fde1e1;color:#a11}.rchip.new{background:#eef1ff;color:#3b4aa0}
@media(max-width:560px){.cc-num{font-size:26px}.tb b{font-size:28px}}

.mini{padding:4px 10px;border:1px solid var(--c);background:#fff;color:var(--d);border-radius:6px;cursor:pointer;font-size:13px;font-family:inherit}

/* gallery fade + glowing 'New' badge */
#big{transition:opacity .25s ease}
#big.fade{opacity:0}
.badge.glow{font-weight:700;animation:glowblink 1.4s ease-in-out infinite}
@keyframes glowblink{
  0%,100%{background:var(--c);color:#fff;box-shadow:0 0 6px 1px #ec4f8b99,0 0 18px 6px #ec4f8b66}
  50%{background:var(--soft);color:var(--d);box-shadow:none}
}
@media (prefers-reduced-motion:reduce){.badge.glow{animation:none}}

.stats.four{grid-template-columns:repeat(4,1fr)}
.stat.s-can b{color:#d62d20}
@media(max-width:760px){.stats.four{grid-template-columns:1fr 1fr}}
