:root{--navy:#0b1324;--navy2:#10264a;--violet:#1e5eff;--violet2:#00bcd4;--mint:#00bcd4;--sky:#e9f6ff;--bg:#f6f8fc;--surface:#fff;--ink:#172033;--muted:#6f7788;--line:#e6e9f0;--danger:#ef5b72;--gold:#f2b84b;--shadow:0 16px 50px rgba(27,38,66,.09);--radius:22px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:"Trebuchet MS","Segoe UI",system-ui,"Noto Sans Bengali",sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgba(109,99,255,.22);outline-offset:2px}.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.91);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.header-inner{max-width:1220px;margin:auto;min-height:74px;padding:10px 18px;display:flex;align-items:center;gap:16px;position:relative}.brand{border:0;background:none;display:flex;align-items:center;gap:10px;padding:0;text-align:left;min-width:230px;color:var(--ink)}.brand img{width:46px;height:46px;object-fit:cover;border-radius:14px;box-shadow:0 7px 20px rgba(23,33,60,.13)}.brand b{display:block;font-size:17px;letter-spacing:-.5px}.brand em{color:var(--violet);font-style:normal}.brand small{display:block;color:var(--muted);font-size:9px;margin-top:2px}.brand-watermark{position:absolute;right:120px;top:5px;width:74px;height:60px;display:grid;place-items:center;pointer-events:none;opacity:.055}.brand-watermark img{width:58px;height:58px;object-fit:contain;filter:grayscale(1)}.searchbox{height:46px;flex:1;max-width:650px;margin:auto;display:flex;align-items:center;background:#f2f5fa;border:1px solid #e4e8f0;border-radius:15px;padding-left:13px}.searchbox>span{color:#657087;display:grid;place-items:center}.searchbox input{width:100%;border:0;outline:0;background:transparent;padding:0 9px;color:var(--ink)}.searchbox button{border:0;background:transparent;color:#68738a;width:38px;height:38px;border-radius:10px;display:grid;place-items:center}.searchbox button:hover{background:#e6e9f2}.header-actions{display:flex;gap:8px}.round{width:44px;height:44px;border:1px solid var(--line);background:#fff;border-radius:14px;display:grid;place-items:center;color:var(--navy);position:relative}.round:hover{border-color:#cfd5e4;transform:translateY(-1px)}.cartbtn b{position:absolute;right:-4px;top:-5px;min-width:19px;height:19px;border-radius:99px;background:var(--danger);color:#fff;font-size:10px;display:grid;place-items:center}.ico{display:inline-grid;place-items:center;line-height:0}.ico svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.main{max-width:1220px;margin:auto;padding:20px 18px 36px}.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.hero-copy{min-height:380px;border-radius:30px;padding:40px;position:relative;overflow:hidden;color:#fff;background:radial-gradient(circle at 85% 20%,rgba(140,131,255,.55),transparent 25%),linear-gradient(135deg,#07101f,#10264a 55%,#075b86);box-shadow:var(--shadow)}.hero-copy:after{content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-170px;bottom:-190px}.eyebrow,.overline{font-size:10px;letter-spacing:1.8px;font-weight:900}.hero-copy h1{font-family:"Segoe UI Black","Arial Black","Trebuchet MS","Noto Sans Bengali",sans-serif;font-size:48px;line-height:1.02;margin:16px 0 14px;letter-spacing:-1.7px;font-style:italic;font-weight:900;letter-spacing:-2px}.hero-copy h1 span{color:#aef4e5}.hero-copy p{max-width:570px;color:#dce4f5;line-height:1.75}.hero-btn{margin-top:14px;border:0;border-radius:14px;padding:13px 18px;background:#fff;color:var(--navy);font-weight:900;display:inline-flex;align-items:center;gap:8px}.trust-row{display:flex;gap:16px;flex-wrap:wrap;margin-top:25px;color:#dfe7f5;font-size:11px}.trust-row span{display:flex;align-items:center;gap:5px}.trust-row .ico svg{width:16px;height:16px}.hero-art{border-radius:30px;min-height:380px;position:relative;overflow:hidden;background:linear-gradient(145deg,#fff,#edf1ff);border:1px solid var(--line);box-shadow:var(--shadow);display:grid;place-items:center}.hero-art>img{width:190px;height:190px;object-fit:contain;position:relative;z-index:2;filter:drop-shadow(0 25px 30px rgba(31,43,80,.2))}.orb{position:absolute;border-radius:50%;filter:blur(1px)}.orb1{width:270px;height:270px;background:rgba(109,99,255,.14);top:-90px;right:-70px}.orb2{width:230px;height:230px;background:rgba(35,199,165,.15);bottom:-90px;left:-70px}.hero-card{position:absolute;z-index:3;bottom:22px;left:22px;background:rgba(255,255,255,.86);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.9);border-radius:18px;padding:14px 16px;box-shadow:0 12px 30px rgba(30,42,74,.12)}.hero-card b,.hero-card strong,.hero-card small{display:block}.hero-card b{font-size:10px;color:var(--muted)}.hero-card strong{font-size:20px;color:var(--violet);margin:3px 0}.hero-card small{font-size:10px;color:var(--muted)}.section{margin-top:32px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}.section-head h2,.page-title h1{margin:3px 0 0;font-size:25px;letter-spacing:-.6px}.overline{color:var(--violet)}.text-btn{border:0;background:none;color:var(--violet);font-weight:900;display:flex;align-items:center;gap:3px}.text-btn .ico svg{width:17px;height:17px}.cat-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:10px}.cat-tile{border:1px solid var(--line);background:#fff;border-radius:19px;padding:17px 9px;text-align:center;box-shadow:0 7px 24px rgba(30,43,73,.04);transition:.2s}.cat-tile:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.cat-tile>span{width:46px;height:46px;margin:auto;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#eef0ff,#e8fff8);color:var(--violet)}.cat-tile b,.cat-tile small{display:block}.cat-tile b{font-size:11px;margin-top:9px}.cat-tile small{font-size:8px;color:var(--muted);margin-top:4px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.product-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 8px 28px rgba(27,38,66,.05);transition:.2s}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-image{height:210px;width:100%;border:0;background:#f0f3f8;position:relative;padding:0;display:block;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover}.sale{position:absolute;z-index:2;left:10px;top:10px;background:var(--danger);color:#fff;padding:5px 8px;border-radius:9px;font-size:10px;font-weight:900}.wish{position:absolute;z-index:5;right:10px;top:10px;width:35px;height:35px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#647087;display:grid;place-items:center;box-shadow:0 6px 16px rgba(20,30,50,.1)}.wish.liked,.wish:hover{color:var(--danger)}.pc-body{padding:13px}.pc-cat{font-size:10px;color:var(--violet);font-weight:900}.pc-title{border:0;background:none;padding:0;text-align:left;color:var(--ink);font-weight:900;font-size:14px;line-height:1.35;margin:6px 0;display:block;width:100%}.price{font-size:18px}.pc-body del,.detail-price del{font-size:11px;color:#a0a7b4;margin-left:5px}.rating{font-size:11px;color:var(--gold);margin-top:5px}.rating span{color:#8790a0}.add{width:100%;margin-top:10px;border:0;border-radius:12px;padding:10px;background:#edf0ff;color:var(--violet);font-weight:900;display:flex;justify-content:center;align-items:center;gap:6px}.add:hover{background:var(--violet);color:#fff}.add .ico svg{width:17px;height:17px}.trust-strip{margin-top:30px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.trust-strip div{display:grid;grid-template-columns:40px 1fr;align-items:center;column-gap:8px}.trust-strip .ico{grid-row:span 2;width:40px;height:40px;border-radius:13px;background:#edf0ff;color:var(--violet)}.trust-strip b{font-size:12px}.trust-strip span{font-size:10px;color:var(--muted)}.page-title{margin-top:8px}.page-title p{color:var(--muted);margin-top:6px}.page-title h1 span{font-size:12px;color:var(--muted);font-weight:500}.category-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px}.category-list>button{border:1px solid var(--line);background:#fff;border-radius:20px;padding:15px;display:flex;align-items:center;gap:13px;text-align:left;box-shadow:0 7px 22px rgba(27,38,66,.04)}.category-list>button:hover{border-color:#cfd4e6;transform:translateY(-2px)}.cat-icon{width:48px;height:48px;border-radius:15px;background:#eef0ff;color:var(--violet);display:grid;place-items:center}.category-list b,.category-list small{display:block}.category-list small{font-size:10px;color:var(--muted);margin-top:3px}.category-list>.ico{margin-left:auto;color:#7c8495}.search-chips{display:flex;gap:8px;overflow:auto;margin:14px 0 18px}.search-chips button{border:1px solid var(--line);background:#fff;border-radius:99px;padding:8px 12px;white-space:nowrap;color:#555f73}.search-chips button:hover{background:#eef0ff;color:var(--violet);border-color:#d8d5ff}.product-detail{display:grid;grid-template-columns:.95fr 1.05fr;gap:25px;background:#fff;border:1px solid var(--line);border-radius:28px;padding:20px;box-shadow:var(--shadow)}.detail-media{height:520px;background:#f1f4f9;border-radius:22px;overflow:hidden;position:relative}.detail-media img{width:100%;height:100%;object-fit:cover}.detail-copy{padding:16px 8px}.detail-copy h1{font-size:34px;line-height:1.1;margin:8px 0}.rating.big{font-size:14px}.detail-price{font-size:31px;font-weight:900;margin:18px 0}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.benefits span{padding:11px;border-radius:13px;background:#f3f5ff;color:#5a6380;font-size:10px;display:flex;align-items:center;gap:5px}.benefits .ico svg{width:16px;height:16px;color:var(--violet)}.detail-copy>p{color:var(--muted);line-height:1.75}.buy-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:18px}.qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;overflow:hidden}.qty button{width:38px;height:43px;border:0;background:#fff;color:var(--navy)}.qty b{min-width:35px;text-align:center}.primary,.secondary{border-radius:13px;padding:12px 16px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:6px}.primary{border:0;background:var(--navy);color:#fff}.primary:hover{background:#25385f}.secondary{border:1px solid #cfd4e2;background:#fff;color:var(--navy)}.wish-large{margin-top:12px;border:0;background:none;color:#68738a;font-weight:800;display:flex;align-items:center;gap:6px}.wish-large.liked{color:var(--danger)}.back-btn{border:0;background:none;color:var(--violet);font-weight:900;display:flex;align-items:center;gap:3px;margin-bottom:12px}.back-btn .ico svg{width:18px}.cart-layout,.checkout{display:grid;grid-template-columns:1fr 340px;gap:18px;align-items:start}.cart-list{display:grid;gap:10px}.cart-item{background:#fff;border:1px solid var(--line);border-radius:19px;padding:12px;display:flex;gap:14px}.cart-item>img{width:105px;height:105px;border-radius:15px;object-fit:cover;background:#f1f4f9}.cart-info{flex:1}.cart-info small{color:var(--violet);font-weight:900;font-size:10px}.cart-info h3{margin:5px 0;font-size:15px}.cart-actions{display:flex;align-items:center;justify-content:space-between;margin-top:9px}.cart-actions .qty button{width:31px;height:32px}.remove{border:0;background:none;color:var(--danger);font-size:11px;font-weight:900}.summary{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:0 10px 30px rgba(27,38,66,.05)}.summary h2{font-size:17px;margin-top:0}.summary>div{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:8px 0}.summary>div span{color:var(--muted)}.summary hr{border:0;border-top:1px solid var(--line);margin:10px 0}.sum-total{font-size:18px!important}.sum-total span{color:var(--ink)!important}.full{width:100%;margin-top:10px}.form-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px}.form-card label{display:block;font-size:12px;font-weight:900;margin-bottom:13px}.form-card input,.form-card textarea{display:block;width:100%;border:1px solid var(--line);background:#fafbfe;border-radius:12px;padding:12px;margin-top:6px;outline:0}.form-card textarea{min-height:90px;resize:vertical}.profile-top{background:linear-gradient(135deg,#fff,#eef0ff);border:1px solid var(--line);border-radius:26px;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:18px}.profile-brand{display:flex;align-items:center;gap:14px}.profile-brand img{width:72px;height:72px;border-radius:20px;object-fit:cover}.profile-brand small{color:var(--violet);font-weight:900;font-size:9px;letter-spacing:1.5px}.profile-brand h1{margin:3px 0;font-size:25px}.profile-brand p{margin:0;color:var(--muted);font-size:12px}.profile-stats{display:flex;gap:8px}.profile-stats span{min-width:90px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px}.profile-stats b,.profile-stats small{display:block}.profile-stats b{font-size:19px}.profile-stats small{font-size:9px;color:var(--muted)}.profile-menu{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.profile-menu button{border:1px solid var(--line);background:#fff;border-radius:17px;padding:15px;display:flex;align-items:center;gap:11px;text-align:left}.profile-menu button>.ico:first-child{width:40px;height:40px;border-radius:13px;background:#eef0ff;color:var(--violet)}.profile-menu button span{flex:1}.profile-menu b,.profile-menu small{display:block}.profile-menu small{font-size:10px;color:var(--muted);margin-top:3px}.profile-menu button>.ico:last-child{color:#8b92a1}.profile-menu .danger-account{border-color:#ffd5d5;background:#fffafa}.profile-menu .danger-account>.ico:first-child{background:#fff0f0;color:#c62828}.profile-menu .danger-account b{color:#b42318}.profile-menu .danger-account small{color:#a65b5b}.profile-note{margin-top:13px;background:#fff;border:1px dashed #d8dce6;border-radius:16px;padding:13px;color:var(--muted);font-size:10px;display:flex;align-items:flex-start;gap:8px}.profile-note .ico{color:var(--violet)}.order-list{display:grid;gap:10px}.order-list article{background:#fff;border:1px solid var(--line);border-radius:17px;padding:15px;display:flex;align-items:center;gap:15px}.order-list article>div{flex:1}.order-list small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.status{padding:5px 8px;border-radius:8px;background:#e9fff8;color:#087e68;font-size:9px;font-weight:900}.empty-page{min-height:55vh;background:#fff;border:1px solid var(--line);border-radius:24px;display:grid;place-items:center;align-content:center;text-align:center;padding:30px}.empty-page.small{min-height:40vh}.empty-icon{width:70px;height:70px;border-radius:22px;background:#eef0ff;color:var(--violet);display:grid;place-items:center;margin:auto}.empty-page p{color:var(--muted)}#toast{position:fixed;left:50%;bottom:85px;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:100;background:#17213c;color:#fff;border-radius:12px;padding:11px 15px;font-size:11px;transition:.22s;box-shadow:var(--shadow)}#toast.show{opacity:1;transform:translate(-50%,0)}.bottom{display:flex;position:sticky;bottom:0;z-index:60;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border-top:1px solid var(--line);padding:6px max(10px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));justify-content:center;gap:4px}.bottom button{position:relative;min-width:76px;border:0;background:transparent;color:#7a8394;padding:6px 8px;border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:9px}.bottom button.on{color:var(--violet);background:#f0efff;font-weight:900}.bottom button i{position:absolute;right:17px;top:1px;background:var(--danger);color:#fff;font-size:8px;font-style:normal;min-width:15px;height:15px;border-radius:99px;display:grid;place-items:center}.bottom .ico svg{width:19px;height:19px}@media(min-width:801px){.bottom{position:static;margin:0 auto 20px;max-width:700px;border:1px solid var(--line);border-radius:18px}.main{padding-bottom:20px}}@media(max-width:900px){.cat-grid{grid-template-columns:repeat(4,1fr)}.product-grid{grid-template-columns:repeat(3,1fr)}.hero{grid-template-columns:1fr}.hero-art{min-height:240px}.hero-copy{min-height:350px}.hero-art>img{width:145px;height:145px}.cart-layout,.checkout{grid-template-columns:1fr}.summary{order:-1}}@media(max-width:650px){.header-inner{padding:8px 11px;min-height:68px;flex-wrap:wrap;gap:9px}.brand{min-width:0}.brand img{width:40px;height:40px}.brand b{font-size:14px}.brand small{font-size:8px}.brand-watermark{display:none}.header-actions{margin-left:auto}.round{width:39px;height:39px}.searchbox{order:3;flex-basis:100%;height:43px}.main{padding:12px 11px 24px}.hero-copy{min-height:410px;padding:27px 22px;border-radius:24px}.hero-copy h1{font-size:36px}.hero-art{display:none}.cat-grid{grid-template-columns:repeat(4,1fr);gap:7px}.cat-tile{padding:11px 4px;border-radius:15px}.cat-tile>span{width:38px;height:38px;border-radius:12px}.cat-tile b{font-size:9px}.cat-tile small{display:none}.product-grid{grid-template-columns:repeat(2,1fr);gap:9px}.product-image{height:150px}.pc-body{padding:10px}.pc-title{font-size:12px}.price{font-size:16px}.rating{font-size:10px}.add{padding:9px;font-size:11px}.section{margin-top:24px}.section-head h2,.page-title h1{font-size:21px}.category-list{grid-template-columns:1fr}.product-detail{grid-template-columns:1fr;padding:11px;border-radius:21px}.detail-media{height:330px}.detail-copy{padding:8px 4px}.detail-copy h1{font-size:28px}.detail-price{font-size:27px}.benefits{grid-template-columns:1fr}.buy-row .primary,.buy-row .secondary{flex:1}.cart-item>img{width:85px;height:85px}.cart-actions{align-items:flex-end;gap:7px}.profile-top{display:block;padding:18px}.profile-stats{margin-top:15px}.profile-stats span{min-width:0;flex:1}.profile-menu{grid-template-columns:1fr}.bottom button{min-width:0;flex:1}.bottom{justify-content:stretch}.trust-strip{grid-template-columns:1fr}.trust-strip div{grid-template-columns:40px 1fr}.profile-brand h1{font-size:21px}}

/* V8 polish: display typography, reliable icons and customer profile */
.ico svg{display:block;overflow:visible}.profile-brand .avatar{width:72px;height:72px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(145deg,#eef0ff,#e8fff8);color:var(--violet);border:1px solid var(--line)}.profile-brand .avatar .ico svg{width:34px;height:34px}.profile-form{max-width:720px}.profile-form .primary{min-height:46px}.customer-profile .profile-brand h1{font-family:"Segoe UI Black","Arial Black","Trebuchet MS","Noto Sans Bengali",sans-serif;font-style:italic;font-weight:900}

/* V9 navigation stability fixes */
@media(max-width:650px){body{padding-bottom:72px}.bottom{position:fixed;left:0;right:0;bottom:0;width:100%;margin:0;border-radius:0;z-index:999;padding-bottom:calc(6px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px rgba(27,38,66,.08)}.main{padding-bottom:24px}.bottom button{min-height:48px}.cartbtn{cursor:pointer}.header-actions .round{touch-action:manipulation}}

/* V10 Firebase authentication */
body.auth-screen{background:radial-gradient(circle at 20% 10%,#eef0ff 0,transparent 32%),radial-gradient(circle at 90% 90%,#e8fff8 0,transparent 34%),var(--bg)}
.auth-wrap{min-height:100dvh;display:grid;place-items:center;padding:22px}
.auth-card{width:min(430px,100%);background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:30px;padding:30px;box-shadow:0 24px 70px rgba(27,38,66,.13);text-align:center}
.auth-logo{width:82px;height:82px;margin:0 auto 14px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(145deg,#eef0ff,#e8fff8);box-shadow:0 10px 28px rgba(27,38,66,.1)}
.auth-logo img{width:68px;height:68px;object-fit:contain;border-radius:18px}.auth-card h1{margin:4px 0 8px;font-family:"Segoe UI Black","Arial Black","Trebuchet MS",sans-serif;font-style:italic;font-size:32px;letter-spacing:-1.2px}.auth-card>p{color:var(--muted);font-size:12px;line-height:1.7;margin:0 0 20px}.auth-divider{display:flex;align-items:center;gap:10px;color:#9aa1af;font-size:10px;margin:18px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--line);flex:1}.auth-form{text-align:left}.auth-form label{display:block;font-size:11px;font-weight:900;margin-bottom:12px}.auth-form input{display:block;width:100%;margin-top:6px;border:1px solid var(--line);background:#fafbfe;border-radius:12px;padding:12px;outline:0}.auth-switch{border:0;background:none;color:var(--violet);font-weight:900;font-size:11px;margin-top:15px}.auth-note{display:block;color:#9aa1af;font-size:9px;margin-top:18px}.auth-loading h1{font-size:24px}.loader{width:28px;height:28px;margin:18px auto 0;border:3px solid #e2e5ef;border-top-color:var(--violet);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}

/* Legal/support footer */
.site-footer{max-width:1200px;margin:0 auto;padding:26px 22px 96px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:#697386;font-size:13px}
.site-footer a{color:#087ea4;text-decoration:none;font-weight:700}
.site-footer a:hover{text-decoration:underline}
@media(max-width:640px){.site-footer{padding:20px 16px 96px;display:block}.site-footer span{display:block;margin:6px 0}}

/* Rihad Mart BD v16 — public browsing + order tutorial */
.auth-back{border:0;background:none;color:#1e5eff;font-weight:900;display:block;margin-bottom:8px}
.account-cta{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;margin:16px 0}
.account-cta h2{margin:0 0 7px}.account-cta p{color:var(--muted);font-size:12px;line-height:1.7}
.tutorial-overlay{position:fixed;inset:0;z-index:2000;background:rgba(5,10,20,.72);backdrop-filter:blur(8px);display:grid;place-items:center;padding:14px;overflow:auto}
.tutorial-modal{width:min(720px,100%);max-height:94dvh;overflow:auto;background:#fff;border-radius:26px;box-shadow:0 30px 100px rgba(0,0,0,.3);padding:18px}
.tutorial-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;padding:4px 4px 12px}
.tutorial-head h2{margin:4px 0;font-size:25px}.tutorial-head p{margin:0;color:var(--muted);font-size:12px}
.tutorial-close{width:38px;height:38px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:24px;color:#667}
.tutorial-step{display:grid;grid-template-columns:36px 190px 1fr;gap:12px;align-items:center;border-top:1px solid var(--line);padding:13px 4px}
.tutorial-step img{width:190px;height:112px;object-fit:cover;border-radius:14px;border:1px solid var(--line)}
.step-num{width:32px;height:32px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:900}
.tutorial-step h3{margin:0 0 5px;font-size:15px}.tutorial-step p{margin:0;color:var(--muted);font-size:11px;line-height:1.7}
.tutorial-footer{border-top:1px solid var(--line);padding:15px 4px 2px;display:flex;justify-content:space-between;gap:12px;align-items:center}
.tutorial-footer label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}
.product-order-card{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.po-product{background:#fff;border:1px solid var(--line);border-radius:20px;padding:15px;display:flex;gap:14px;align-items:center}
.po-product img{width:110px;height:110px;border-radius:16px;object-fit:cover;background:#f2f5fa}.po-product h2{font-size:17px;margin:5px 0}.po-product small{color:var(--violet);font-weight:900}
.qty.large{margin-top:8px}.qty.large button{width:38px;height:38px}
@media(max-width:650px){
 .tutorial-step{grid-template-columns:30px 110px 1fr;gap:9px}.tutorial-step img{width:110px;height:86px}.tutorial-step h3{font-size:13px}.tutorial-step p{font-size:10px}.tutorial-footer{flex-direction:column;align-items:stretch}.tutorial-footer button{width:100%}
 .product-order-card{grid-template-columns:1fr}
}

/* V16.2 product-detail/cart polish */
.stock-line{display:flex;align-items:center;gap:8px;margin:14px 0;padding:10px 12px;border-radius:12px;background:rgba(0,180,140,.08);color:#08785f;font-weight:700;font-size:.9rem}.stock-line .ico{width:18px;height:18px}
.detail-description{margin:18px 0 6px;padding:16px;border:1px solid var(--line,#e6e9f0);border-radius:16px;background:rgba(255,255,255,.7)}
.detail-description h3{margin:0 0 7px;font-size:1rem}.detail-description p{margin:0;line-height:1.75;color:#5f6878;white-space:pre-wrap}
.detail-media img,.product-image img,.cart-item>img,.po-product img{object-fit:contain;background:#fff}
.detail-media img{width:100%;height:100%;min-height:320px;display:block}
.cart-item>img{width:96px;height:96px;border-radius:16px;border:1px solid var(--line,#e6e9f0)}
@media(max-width:700px){.product-detail{grid-template-columns:1fr!important}.detail-media{min-height:280px}.detail-media img{min-height:280px}.buy-row{flex-wrap:wrap}.buy-row .primary,.buy-row .secondary{flex:1 1 180px}.cart-layout{grid-template-columns:1fr!important}.summary{position:static!important}.cart-item{align-items:flex-start}}

/* V16.3 Rating & Feedback */
.reviews-section{margin-top:18px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:0 10px 34px rgba(27,38,66,.05)}
.reviews-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.reviews-head h2{margin:4px 0 4px;font-size:22px;letter-spacing:-.4px}
.reviews-head p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}
.review-loading{font-size:11px;color:var(--muted);padding-top:8px}
.reviews-summary{display:grid;grid-template-columns:190px 1fr;gap:22px;align-items:center;margin:18px 0;padding:16px;border-radius:18px;background:linear-gradient(135deg,#f7fbff,#f4f7ff);border:1px solid #e7ebf4}
.review-score{text-align:center;border-right:1px solid #e1e6ef;padding-right:20px}
.review-score strong{display:block;font-size:40px;line-height:1;font-family:"Segoe UI Black","Arial Black","Noto Sans Bengali",sans-serif}
.review-score small{display:block;color:var(--muted);font-size:10px;margin-top:4px}
.review-stars-large{font-size:21px;letter-spacing:2px;color:var(--gold);margin:7px 0 2px}
.rating-breakdown{display:grid;gap:7px}
.rating-bar{display:grid;grid-template-columns:20px 1fr 25px;gap:8px;align-items:center;font-size:10px;color:#667085}
.rating-bar i{display:block;height:7px;background:#e7ebf2;border-radius:99px;overflow:hidden}
.rating-bar i b{display:block;height:100%;background:linear-gradient(90deg,#f2b84b,#ffc95d);border-radius:99px}
.rating-bar em{font-style:normal;text-align:right;color:#8a93a3}
.review-form{margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#fcfdff}
.review-form-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.review-form-title b{display:block;font-size:13px}.review-form-title small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.review-form-title>strong{font-size:12px;color:var(--violet)}
.star-picker{display:flex;gap:4px;margin:10px 0 13px}
.star-btn{width:39px;height:39px;border:1px solid #dfe4ed;background:#fff;border-radius:11px;color:#b5bdc9;font-size:22px;line-height:1;display:grid;place-items:center;transition:.15s}
.star-btn.active{color:var(--gold);background:#fff9e8;border-color:#f5d27b}.star-btn:hover{transform:translateY(-1px);border-color:#e7c36a}
.review-form label{display:block;font-size:11px;font-weight:900}.review-form textarea{display:block;width:100%;min-height:96px;margin-top:6px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px;resize:vertical;outline:0}.review-form textarea:focus{border-color:#9db7ff;box-shadow:0 0 0 3px rgba(30,94,255,.08)}
.review-form .primary{margin-top:12px}
.review-login{margin-top:14px;border:1px dashed #cfd8e8;background:#f8fbff;border-radius:17px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:12px}.review-login b{display:block;font-size:13px}.review-login small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.review-login .secondary{white-space:nowrap}
.review-list-head{display:flex;align-items:center;justify-content:space-between;margin-top:22px}.review-list-head h3{margin:0;font-size:15px}.review-list-head span{font-size:10px;color:var(--muted)}
.review-list{display:grid;gap:10px;margin-top:10px}
.review-item{display:flex;gap:11px;padding:13px;border:1px solid var(--line);border-radius:16px;background:#fff}
.review-avatar{flex:0 0 40px;width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#eef0ff,#e8fff8);color:var(--navy);font-weight:900}
.review-body{flex:1;min-width:0}.review-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.review-meta b{display:block;font-size:12px}.review-meta small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.review-stars{color:var(--gold);font-size:12px;letter-spacing:1px;white-space:nowrap}.review-body p{margin:8px 0 0;color:#586274;font-size:11px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.review-no-text{color:#9aa3b1!important;font-style:italic}.review-empty{padding:26px 14px;border:1px dashed #dbe1ea;border-radius:16px;text-align:center;color:var(--muted)}.review-empty-stars{color:var(--gold);font-size:23px;letter-spacing:2px;margin-bottom:7px}.review-empty b,.review-empty span{display:block}.review-empty b{color:#4d586d;font-size:12px}.review-empty span{font-size:10px;margin-top:3px}
.stars-inline{color:var(--gold);letter-spacing:1px}
@media(max-width:650px){
 .reviews-section{padding:14px;border-radius:20px}.reviews-summary{grid-template-columns:1fr;gap:16px}.review-score{border-right:0;border-bottom:1px solid #e1e6ef;padding:0 0 14px}.review-login{align-items:flex-start;flex-direction:column}.review-login .secondary{width:100%}.star-btn{width:36px;height:36px}.review-meta{align-items:flex-start}.review-stars{font-size:11px}
}


/* V16.4 — Full app QA + home/mobile polish + exact logo palette */
:root{
  --navy:#08111f;
  --navy2:#0d2341;
  --violet:#0868ff;
  --violet2:#00cfe8;
  --mint:#00bfd6;
  --sky:#e9faff;
  --bg:#f5f8fc;
  --surface:#ffffff;
}
body{font-family:"Noto Sans Bengali","Nirmala UI","Segoe UI",system-ui,sans-serif;background:var(--bg)}
.header{background:rgba(255,255,255,.95)}
.brand em,.overline,.text-btn,.back-btn,.po-product small,.profile-brand small,.auth-back,.auth-switch{color:var(--violet)}
.searchbox{background:#f2f8fc;border-color:#dfeaf2}
.round:hover{border-color:#9fd7f1}
.hero-copy{background:radial-gradient(circle at 88% 18%,rgba(0,207,232,.30),transparent 27%),linear-gradient(135deg,#050d19 0%,#0a1b31 52%,#063f61 100%)}
.hero-copy h1 span{color:#7beaff}
.hero-art{background:linear-gradient(145deg,#ffffff,#eafaff)}
.orb1{background:rgba(0,104,255,.13)}
.orb2{background:rgba(0,207,232,.16)}
.hero-card strong{color:var(--violet)}
.cat-tile>span,.profile-menu button>.ico:first-child,.empty-icon{background:linear-gradient(145deg,#eaf8ff,#effcff);color:var(--violet)}
.primary{background:linear-gradient(135deg,#0a63ff,#009fe8);box-shadow:0 10px 24px rgba(0,105,255,.16)}
.primary:hover{background:linear-gradient(135deg,#0758e2,#008fcf)}
.secondary{border-color:#b9d9ea}
.product-image{background:#f5f9fc}
.sale{background:#0b7cf0}
.bottom button.on{color:var(--violet);background:#eaf7ff}
.hero-mini-logo{display:none}
.po-stock{margin-top:8px;color:#087e68;font-size:10px;font-weight:800}
.review-error{border-color:#ffd9d9;background:#fffafa}

@media(max-width:650px){
  .main{padding:10px 10px 20px}
  .hero{gap:10px}
  .hero-copy{min-height:300px;padding:23px 19px;border-radius:23px}
  .hero-copy h1{font-size:31px;letter-spacing:-1.3px;margin-top:13px}
  .hero-copy p{font-size:11px;line-height:1.65;max-width:100%}
  .hero-btn{margin-top:10px;padding:11px 15px}
  .trust-row{gap:10px;margin-top:17px;font-size:9px}
  .section{margin-top:22px}
  .section-head{margin-bottom:11px}
  .section-head h2,.page-title h1{font-size:20px}
  .cat-grid{gap:6px}
  .cat-tile{padding:9px 3px}
  .cat-tile>span{width:36px;height:36px;border-radius:11px}
  .product-grid{gap:8px}
  .product-image{height:145px}
  .pc-body{padding:9px}
  .pc-title{font-size:11px;line-height:1.35}
  .price{font-size:15px}
  .add{padding:8px;font-size:10px}
  .detail-media{height:300px;min-height:300px}
  .detail-media img{min-height:300px}
  .detail-copy h1{font-size:25px}
  .product-order-card{gap:10px}
  .po-product{padding:12px}
  .po-product img{width:88px;height:88px}
  .form-card{padding:15px}
}


/* V16.4 QA helpers */
.catalog-loading{min-height:180px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,#fff,#f7fbfe);display:grid;place-items:center;align-content:center;gap:5px;color:var(--navy);text-align:center;padding:24px}.catalog-loading.tall{min-height:320px}.catalog-loading span{font-size:10px;color:var(--muted)}.catalog-spinner{width:30px;height:30px;border:3px solid #dceaf2;border-top-color:var(--violet);border-right-color:var(--violet2);border-radius:50%;animation:spin .7s linear infinite;margin-bottom:7px}
.product-image img,.detail-media img,.cart-item>img,.po-product img{image-rendering:auto}
@media(max-width:650px){.catalog-loading{min-height:150px;border-radius:18px}.catalog-loading.tall{min-height:240px}}
.product-gallery{margin:18px auto;max-width:1120px;padding:0 18px}.gallery-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:12px}.gallery-heading h3{margin:4px 0 0;font-size:20px}.gallery-heading>span{font-size:12px;color:#8fa0bd}.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-grid figure{margin:0;border:1px solid rgba(255,255,255,.08);background:rgba(10,16,30,.72);border-radius:16px;overflow:hidden}.gallery-grid img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:#0a0f1d}.gallery-grid figcaption{padding:10px 12px 12px;color:#dce7f7;font-size:13px;line-height:1.5}.gallery-grid:empty{display:none}@media(min-width:760px){.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-gallery{padding:0 24px}} 
.order-success-overlay,.review-overlay{position:fixed;inset:0;z-index:2600;display:grid;place-items:center;padding:16px;background:rgba(4,8,16,.78);backdrop-filter:blur(10px)}.order-success-card,.review-modal{position:relative;width:min(560px,100%);max-height:90dvh;overflow:auto;background:#fff;color:#101828;border-radius:26px;padding:24px;box-shadow:0 30px 100px rgba(0,0,0,.35)}.success-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#e8fff2;color:#0aa95a;font-size:30px;font-weight:900;margin-bottom:12px}.success-note{background:#f5f8fc;border:1px solid #e2e8f0;border-radius:16px;padding:13px;color:#556274;line-height:1.6;margin:14px 0}.success-actions{display:grid;gap:10px}.review-modal textarea{width:100%;min-height:130px;margin-top:16px;padding:12px;border:1px solid #d7dfea;border-radius:14px;resize:vertical;font:inherit}.star-picker{display:flex;gap:6px;margin-top:14px}.star-picker label{cursor:pointer}.star-picker input{position:absolute;opacity:0}.star-picker span{display:block;font-size:34px;color:#cdd5e1;transition:.15s}.star-picker input:checked+span,.star-picker label:hover span{color:#ffbf3d}.review-panel{margin:20px auto;max-width:1120px;padding:0 18px}.review-card{background:rgba(10,16,30,.7);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:14px;margin-top:10px}.review-card>div{display:flex;justify-content:space-between;gap:10px}.review-card .star{color:#4a5872}.review-card .star.on{color:#ffbf3d}.review-card p{margin:8px 0;color:#dce7f7;line-height:1.6}.review-empty{padding:18px;border:1px dashed rgba(255,255,255,.15);border-radius:14px;color:#94a0b4}.product-rating-summary{display:flex;align-items:center;gap:7px;margin:9px 0}.product-rating-summary .star{color:#4a5872}.product-rating-summary .star.on{color:#ffbf3d}.product-rating-summary b{font-size:14px}.product-rating-summary span{color:#8fa0bd;font-size:12px}@media(max-width:640px){.order-success-card,.review-modal{border-radius:22px;padding:20px}.gallery-grid{grid-template-columns:1fr}.tutorial-step{grid-template-columns:32px 88px 1fr!important}}

.load-more-wrap{display:flex;justify-content:center;padding:22px 0 4px}.load-more-products{min-width:190px}
.product-image img,.cart-item img,.detail-media img,.gallery-grid img{content-visibility:auto}

.cat-visual{display:flex!important;align-items:center;justify-content:center;overflow:hidden}
.cat-visual svg{width:28px;height:28px}
.cat-custom-image{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.cat-tile>.cat-visual{width:58px;height:58px;border-radius:18px}
.category-list .cat-icon{width:54px;height:54px;min-width:54px}
.category-list .cat-icon.cat-visual{border-radius:16px}
.category-list .cat-icon .cat-custom-image{border-radius:14px}
