:root{--ink:#17212b;--muted:#64748b;--line:#e2e8f0;--accent:#0f766e;--accent-2:#14b8a6;--soft:#f0fdfa;--danger:#b42318;--bg:#f7fafc;--card:#fff;--shadow:0 10px 30px rgba(15,23,42,.07)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
header{background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;gap:24px;align-items:center;padding:12px max(16px,calc((100% - 1240px)/2));position:sticky;top:0;z-index:20}
.brand{font-weight:900;font-size:1.2rem;color:var(--accent);text-decoration:none;white-space:nowrap}
nav{margin-left:auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
nav a{padding:8px 10px;border-radius:8px;text-decoration:none;color:var(--ink)}
nav a:hover,nav a.active{background:var(--soft);color:var(--accent)}
nav .inline{display:inline-flex}
button,.button{border:0;border-radius:9px;background:var(--accent);color:#fff;padding:10px 15px;font:inherit;cursor:pointer;text-decoration:none;display:inline-block;transition:.18s transform,.18s opacity,.18s background}
button:hover,.button:hover{transform:translateY(-1px);opacity:.94}
.secondary{background:#334155}.danger{background:var(--danger)}.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
.wrap{max-width:960px;margin:0 auto;padding:32px 20px 60px}.wrap.wide{max-width:1280px} .merchant-content-wide{max-width:none;width:100%;box-sizing:border-box;margin-left:0;margin-right:0}
footer{border-top:1px solid var(--line);padding:26px 20px;text-align:center;color:var(--muted);background:#fff}
.hero{padding:clamp(35px,8vw,90px) 0 45px}.hero h1{font-size:clamp(2.2rem,6vw,4.5rem);line-height:1.02;margin:0 0 16px;max-width:850px}.hero p{font-size:1.15rem;color:var(--muted);max-width:720px}
.search,.grid{display:grid;gap:12px}.search{grid-template-columns:2fr 1.5fr auto;max-width:800px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.full{grid-column:1/-1}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px;margin:16px 0;box-shadow:var(--shadow)}.cards .card{margin:0}.narrow{max-width:560px}
label{display:flex;flex-direction:column;gap:5px;font-weight:650}input,textarea,select{border:1px solid #b8c4d1;border-radius:9px;background:#fff;color:var(--ink);font:inherit;padding:10px 11px;width:100%}textarea{min-height:90px}
small{color:var(--muted);font-weight:400}.check{display:inline-flex;flex-direction:row;align-items:center;margin:5px 15px 5px 0}.check input{width:auto}
.inline{display:inline-flex;align-items:center;gap:6px;margin:0}.inline input,.inline select{width:auto;max-width:150px;padding:6px}.inline button{padding:6px 9px;font-size:.88rem}
.flash{border-left:4px solid var(--accent);background:#ecfdf5;padding:12px 15px;margin-bottom:18px;border-radius:8px}.flash.warning,.warning{border-color:#d97706;background:#fffbeb}.flash.error{border-color:var(--danger);background:#fff1f2}
.subnav{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 14px;margin-bottom:20px;border-bottom:1px solid var(--line)}.subnav a{padding:8px 12px;border-radius:9px;text-decoration:none;background:#fff;border:1px solid var(--line);color:var(--ink)}.subnav a.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.admin-shell{display:grid;grid-template-columns:230px minmax(0,1fr);gap:22px}.admin-side{position:sticky;top:78px;align-self:start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px;box-shadow:var(--shadow)}.admin-side a{display:block;padding:10px 12px;border-radius:9px;text-decoration:none;color:var(--ink)}.admin-side a:hover,.admin-side a.active{background:var(--soft);color:var(--accent);font-weight:700}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kpi{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px}.kpi strong{font-size:1.65rem;display:block}.muted{color:var(--muted)}
table{border-collapse:collapse;background:#fff;width:100%;margin:15px 0;font-size:.94rem}th,td{padding:10px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}th{background:#f1f5f9}
details summary{cursor:pointer;font-weight:700}.products{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.product{background:#fff;border:1px solid var(--line);display:flex;gap:12px;border-radius:12px;padding:14px}.product h3{margin:0}.product p{margin:4px 0;color:var(--muted)}.product-image{height:82px;width:82px;object-fit:cover;border-radius:8px}
.available,.soldout{display:block;margin-top:4px;font-size:.86rem}.available{color:#15803d}.soldout{color:var(--danger)}.store-head{background:var(--soft);border-radius:14px;padding:24px;margin:16px 0}.invoice{max-width:700px;margin:auto;background:#fff;padding:24px}.print-only-actions{margin:0 0 15px}
.login-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.login-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:var(--shadow)}.login-card h2{margin-top:0}.login-card form{display:grid;gap:10px}.login-card .secondary{margin-top:8px}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.section-title{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap}
@media(max-width:900px){.admin-shell{grid-template-columns:1fr}.admin-side{position:static;display:flex;overflow:auto;gap:5px}.admin-side a{white-space:nowrap}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.login-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){header{align-items:center;gap:10px;flex-wrap:wrap}.brand{flex:1}nav{width:100%;margin-left:0;overflow:auto;flex-wrap:nowrap}.search,.grid.two{grid-template-columns:1fr}.wrap{padding:22px 12px 45px}.hero{padding-top:35px}.login-grid{grid-template-columns:1fr}.kpis{grid-template-columns:1fr 1fr}table{display:block;overflow-x:auto;white-space:nowrap}.subnav{font-size:.9rem}}
@media print{header,footer,.subnav,.print-only-actions,.flash{display:none}.wrap,.wrap.wide{max-width:none;padding:0}body{background:#fff}table{font-size:12px}}

.product-thumb{width:52px;height:52px;object-fit:cover;border-radius:10px;display:block;margin-bottom:6px;border:1px solid #ddd}.product-image{width:100%;max-width:220px;aspect-ratio:1/1;object-fit:cover;border-radius:12px}.warning{color:#9a3412;font-weight:600}
/* Dynamic store/admin UI */
.eyebrow{display:inline-block;font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;color:var(--accent);font-weight:800}.badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#334155;font-size:.78rem;font-weight:800}.badge.success{background:#dcfce7;color:#166534}.danger-badge{background:#fee2e2;color:#991b1b}.profile-card{max-width:900px}.profile-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:18px}.profile-meta{display:flex;flex-direction:column;justify-content:center;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#f8fafc}.manage-list,.store-admin-list{display:grid;gap:14px}.manage-card,.store-admin-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px}.manage-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.manage-card h3{margin:2px 0}.manage-card p{margin:0;color:var(--muted)}.manage-meta{display:flex;flex-wrap:wrap;gap:8px 18px;padding:12px 0;color:var(--muted);font-size:.9rem}.manage-card details,.store-admin-card details{margin-top:10px}.manage-card summary,.store-admin-card>summary{cursor:pointer;list-style:none}.manage-card summary::-webkit-details-marker,.store-admin-card>summary::-webkit-details-marker{display:none}.manage-card summary{font-weight:800;padding:10px;background:#f8fafc;border-radius:9px}.delete-form{margin-top:10px}.store-admin-card>summary{display:flex;justify-content:space-between;align-items:center;gap:12px}.store-admin-card>summary strong{display:block;font-size:1.05rem}.store-admin-card>summary small{display:block;margin-top:3px}.store-detail-grid{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.4fr);gap:18px;padding-top:18px}.store-summary{background:var(--soft);border-radius:12px;padding:16px}.store-summary h3{margin-top:0}.store-summary dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;font-size:.9rem}.store-summary dt{font-weight:800}.store-summary dd{margin:0;color:var(--muted)}.action-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.store-hero{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:20px;background:linear-gradient(135deg,#ecfdf5,#f8fafc);border:1px solid #cceee6;border-radius:20px;padding:clamp(22px,4vw,38px);margin:16px 0 24px}.store-hero h1{font-size:clamp(2rem,5vw,3.6rem);line-height:1.05;margin:5px 0 8px}.store-location{font-weight:700;color:var(--muted)}.store-description{max-width:760px;color:#475569}.store-chips{display:flex;flex-wrap:wrap;gap:8px}.store-chip{display:inline-flex;padding:6px 10px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:.82rem;font-weight:750}.store-chip.online{background:#dcfce7;border-color:#bbf7d0;color:#166534}.store-hero-side{border-radius:16px;background:#fff;padding:22px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;box-shadow:var(--shadow)}.store-hero-side strong{font-size:2.5rem}.store-hero-side small{margin-top:12px}.store-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0 15px}.store-toolbar h2{margin:0}.store-toolbar p{margin:2px 0}.store-search{display:flex;gap:8px;min-width:min(420px,100%)}.store-search input{min-width:0}.product-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.product-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow);min-width:0}.product-media{background:#f8fafc;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-media .product-image{width:100%;height:100%;max-width:none;aspect-ratio:auto;object-fit:cover;border-radius:0}.product-placeholder{color:var(--muted);font-weight:700}.product-info{padding:16px}.product-top,.product-buy{display:flex;justify-content:space-between;gap:10px;align-items:center}.product-card h3{margin:7px 0 5px;font-size:1.15rem}.product-description{color:var(--muted);min-height:48px;margin:0 0 14px}.product-price{font-size:1.25rem}.product-order{padding:8px 12px}.empty-state{grid-column:1/-1;padding:35px;text-align:center;background:#fff;border:1px dashed var(--line);border-radius:14px}
@media(max-width:800px){.store-detail-grid,.store-hero{grid-template-columns:1fr}.store-hero-side{align-items:flex-start;text-align:left}.store-toolbar{align-items:stretch;flex-direction:column}.store-search{width:100%;min-width:0}.manage-card-head{align-items:flex-start}.store-admin-card>summary{align-items:flex-start}}
@media(max-width:520px){.profile-head{flex-direction:column}.store-admin-card,.manage-card{padding:12px}.store-hero{padding:20px;border-radius:15px}.product-grid{grid-template-columns:1fr}.product-media{aspect-ratio:16/10}.store-search{display:grid;grid-template-columns:1fr auto}.manage-meta{display:grid;grid-template-columns:1fr;gap:5px}}

.pos-shell{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(360px,.8fr);gap:18px;align-items:start}.pos-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.pos-search{display:flex;gap:10px;align-items:center;margin:10px 0 15px}.pos-search input{flex:1}.pos-product{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}.pos-product-image{height:145px;background:#f8fafc;display:flex;align-items:center;justify-content:center;color:var(--muted);overflow:hidden}.pos-product-image img{width:100%;height:100%;object-fit:cover}.pos-product-body{padding:12px;display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center}.pos-product-body h3{margin:0;font-size:1rem}.pos-product-body small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pos-add{grid-column:1/-1;width:100%}.pos-cart{position:sticky;top:78px;margin:0}.pos-cart-head{display:flex;justify-content:space-between;align-items:center}.pos-cart-lines{display:grid;gap:8px;max-height:390px;overflow:auto;margin:12px 0}.pos-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}.pos-line-name{font-weight:750}.pos-line-controls{display:flex;align-items:center;gap:5px}.pos-line-controls input{width:75px;padding:7px}.pos-line-controls button{padding:6px 9px}.pos-totals{border-top:1px solid var(--line);margin-top:14px;padding-top:10px}.pos-totals>div{display:flex;justify-content:space-between;padding:4px 0}.pos-totals .grand{font-size:1.25rem;border-top:1px dashed var(--line);margin-top:7px;padding-top:10px}.pos-checkout{width:100%;margin-top:12px;padding:13px;font-weight:800}.pos-checkout:disabled{opacity:.5;cursor:not-allowed}.pos-hidden{display:none!important}@media(max-width:1000px){.pos-shell{grid-template-columns:1fr}.pos-cart{position:static}}@media(max-width:600px){.pos-search{flex-direction:column;align-items:stretch}.pos-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pos-product-image{height:105px}.pos-product-body{padding:9px}.pos-cart-lines{max-height:none}.pos-line{grid-template-columns:1fr}.pos-line-controls{justify-content:flex-end}}@media(max-width:380px){.pos-products{grid-template-columns:1fr}}

.staff-list{display:grid;gap:12px}.staff-card{overflow:hidden}.staff-card>summary{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;cursor:pointer}.staff-card>summary small{grid-column:1/-1;color:var(--muted)}.staff-meta{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0;color:var(--muted);font-size:.9rem}.staff-card form{margin-top:10px}.badge.success{background:#dcfce7;color:#166534;border-color:#bbf7d0}.badge.warning{background:#fef3c7;color:#92400e;border-color:#fde68a}@media(max-width:600px){.staff-card>summary{grid-template-columns:1fr}.staff-meta{display:grid;gap:5px}}
.language-form{margin-left:auto;display:flex;align-items:center}.language-form select{width:auto;min-width:105px;padding:7px 30px 7px 10px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.merchant-logo{width:52px;height:52px;border-radius:12px;object-fit:cover;border:1px solid var(--line);background:#fff}.merchant-logo-lg{width:92px;height:92px;border-radius:18px;object-fit:cover;border:1px solid var(--line);background:#fff}.store-card-head{display:flex;gap:12px;align-items:center}.store-card-head h2{margin:0}.store-card-head>div:last-child{min-width:0}.admin-report-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;margin-bottom:16px}.admin-report-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px}.admin-report-card strong{display:block;font-size:1.4rem}.admin-report-card small{color:var(--muted)}.product-detail{margin-top:10px}.product-detail summary{cursor:pointer;font-weight:800;padding:9px;background:#f8fafc;border-radius:9px}.product-detail-grid{display:grid;grid-template-columns:minmax(180px,.6fr) minmax(0,1.4fr);gap:16px;padding:14px 0}.product-facts{display:grid;grid-template-columns:auto 1fr;gap:5px 12px;font-size:.9rem}.product-facts dt{font-weight:800}.product-facts dd{margin:0;color:var(--muted)}.related-orders{width:100%;margin-top:12px}.plan-table{width:100%;min-width:720px}.plan-badge{font-weight:800}.danger-badge{background:#fee2e2;color:#991b1b}@media(max-width:900px){.admin-report-grid{grid-template-columns:repeat(3,minmax(120px,1fr))}.product-detail-grid{grid-template-columns:1fr}}@media(max-width:600px){.admin-report-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}.language-form{width:auto}}

.mobile-menu-toggle{display:none}.payment-qr{width:180px;max-width:100%;aspect-ratio:1;object-fit:contain;border:1px solid var(--line);border-radius:12px;background:#fff;padding:6px}.payment-info{margin:18px 0}.payment-info h2{margin-top:0}.mobile-menu-toggle{border:1px solid var(--line);background:#fff;color:var(--text);border-radius:9px;padding:8px 11px;cursor:pointer}@media(max-width:760px){header{flex-wrap:wrap;gap:8px}.mobile-menu-toggle{display:inline-flex;align-items:center;gap:5px;margin-left:auto}header nav{order:5;width:100%;display:none;flex-direction:column;align-items:stretch;background:#fff;border:1px solid var(--line);border-radius:12px;padding:7px}header nav.mobile-open{display:flex}header nav a,header nav form{width:100%;text-align:left}header nav a{padding:10px 9px}.language-form{order:4}.language-form select{min-width:92px}}
.social-button{display:inline-flex;align-items:center;padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);text-decoration:none;font-weight:750}.social-button:hover{background:var(--soft);color:var(--accent)}.store-campaigns{margin:22px 0}.store-campaigns h2{margin-bottom:12px}.campaign-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.campaign-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:var(--shadow)}.campaign-card h3{margin:0 0 7px}.campaign-card p{margin:0 0 10px;color:var(--muted)}.campaign-coupon{display:inline-block;padding:7px 10px;border-radius:8px;background:var(--soft);color:var(--accent);margin-bottom:10px}.campaign-share{display:flex;gap:8px;flex-wrap:wrap}.campaign-share a{padding:7px 10px;border-radius:8px;background:#f8fafc;border:1px solid var(--line);text-decoration:none;color:var(--ink);font-size:.88rem;font-weight:700}.campaign-share a:hover{color:var(--accent);background:var(--soft)}
@media(max-width:600px){.campaign-grid{grid-template-columns:1fr}.social-button{flex:1;justify-content:center}}

/* Dynamic responsive dashboard + public catalog UI */
.platform-store-bar{position:sticky;top:0;z-index:80;background:linear-gradient(90deg,#0f766e,#115e59);color:#fff;box-shadow:0 4px 18px rgba(15,118,110,.18)}
.platform-store-inner{padding-top:0;padding-bottom:0}.platform-store-link{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;padding:9px 0;min-height:48px}.platform-store-link img{width:34px;height:34px;border-radius:9px;object-fit:cover;background:#fff}.platform-store-link small{display:block;opacity:.82;font-size:.7rem}.platform-store-link strong{display:block}.platform-store-badge{margin-left:auto;background:#fff;color:#0f766e;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:900}
.dashboard-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px}.dashboard-menu-col{position:relative}.dashboard-side,.admin-side{position:sticky;top:82px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:9px;box-shadow:var(--shadow);display:grid;gap:4px}.dashboard-side a,.admin-side a{display:block;padding:10px 12px;border-radius:10px;color:var(--ink);text-decoration:none}.dashboard-side a:hover,.dashboard-side a.active,.admin-side a:hover,.admin-side a.active{background:var(--soft);color:var(--accent);font-weight:800}.side-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:2px solid var(--accent);background:var(--accent);color:#fff;border-radius:11px;padding:11px 15px;font-weight:900;cursor:pointer;margin-bottom:10px;min-height:46px;box-shadow:0 8px 18px rgba(15,118,110,.18);position:relative;z-index:101}.side-menu-toggle:hover{background:var(--accent-2);color:#fff;transform:translateY(-1px)}.dashboard-content{min-width:0}.admin-menu-col{position:relative}
.product-card{cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;animation:cardIn .45s ease both}.product-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,23,42,.10);border-color:#cbd5e1}.product-card details{cursor:default}.product-store-mini{margin:0 0 5px;color:var(--muted);font-size:.82rem;font-weight:750}.product-description.short{min-height:auto;font-size:.9rem;margin:0 0 10px}.product-card details[open] .product-detail-grid{animation:expandIn .25s ease}
@keyframes cardIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes expandIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
.lookup-product{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px;align-items:center;transition:transform .2s ease,box-shadow .2s ease}.lookup-product:hover{transform:translateY(-2px)}.product-search-image{width:140px;height:120px;object-fit:cover;border-radius:12px;background:#f8fafc}.product-search-image.placeholder{display:flex;align-items:center;justify-content:center;color:var(--muted)}
@media(max-width:1100px){.dashboard-layout,.admin-shell{grid-template-columns:1fr}.dashboard-menu-col,.admin-menu-col{position:relative;z-index:100}.dashboard-side,.admin-side{position:absolute;left:0;top:56px;width:min(320px,92vw);z-index:110;display:none;max-height:calc(100vh - 90px);overflow:auto;box-shadow:0 20px 45px rgba(15,23,42,.22);animation:drawerIn .2s ease both}.dashboard-side.side-open,.admin-side.side-open{display:grid}.platform-store-link{padding-left:12px;padding-right:12px}.lookup-product{grid-template-columns:90px minmax(0,1fr);gap:11px}.product-search-image{width:90px;height:90px}.lookup-product .button{width:100%;text-align:center}}
@keyframes drawerIn{from{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:none}}
@media(max-width:520px){.platform-store-badge{font-size:.65rem}.product-info{padding:12px}.product-top{align-items:flex-start}.product-buy{align-items:flex-end}.product-price{font-size:1.1rem}}
/* v1.5.5 dynamic responsive store showcase */
.mobile-menu-toggle{color:var(--ink)!important;background:#fff!important;border:1px solid var(--line)!important;font-weight:800;min-width:92px;justify-content:center}
.store-showcase{background:linear-gradient(135deg,#ffffff,#f0fdfa);border:1px solid var(--line);border-radius:20px;padding:14px;margin:18px 0 24px;box-shadow:var(--shadow);overflow:hidden;animation:showcaseIn .45s ease both}
.store-showcase-main{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--ink);position:relative}.store-showcase-logo{width:58px;height:58px;border-radius:15px;object-fit:cover;background:#fff;border:1px solid var(--line);flex:0 0 auto}.placeholder-logo{display:grid;place-items:center;font-weight:900;font-size:1.4rem;color:var(--accent)}.store-showcase-copy{min-width:0}.store-showcase-copy small{display:block;color:var(--accent);font-weight:800}.store-showcase-copy h2{margin:2px 0;font-size:1.15rem}.store-showcase-copy p{margin:0;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-showcase-arrow{margin-left:auto;white-space:nowrap;font-weight:800;color:var(--accent)}
.store-showcase-slider,.store-product-slider{display:flex;gap:10px;overflow:hidden;margin-top:12px;scroll-behavior:smooth}.store-showcase-slide,.store-product-slide{min-width:180px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;display:flex;align-items:center;gap:9px;animation:floatIn .5s ease both}.store-showcase-slide img,.store-product-slide img{width:64px;height:64px;border-radius:10px;object-fit:cover;background:#f8fafc}.store-showcase-slide strong,.store-product-slide strong{display:block;font-size:.9rem}.store-showcase-slide span,.store-product-slide span{display:block;color:var(--accent);font-weight:800;margin-top:2px}.showcase-placeholder{width:64px;height:64px;border-radius:10px;background:#f1f5f9;display:grid;place-items:center;color:var(--muted);font-size:.7rem;text-align:center}.store-product-slider{margin-top:14px}.store-product-slide{min-width:170px}.store-product-slider.empty{padding:12px;background:#fff;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}.store-card-link{display:block;color:inherit;text-decoration:none}.store-card{overflow:hidden}.store-card:hover{transform:translateY(-3px);transition:transform .2s ease}.store-page-slideshow{margin:18px 0}.platform-showcase{position:relative;border:1px solid var(--line);border-radius:16px;padding:14px;background:#fff;box-shadow:var(--shadow);margin:0 0 18px}
@keyframes showcaseIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes floatIn{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
@media(max-width:760px){.wrap{padding-left:14px;padding-right:14px}.store-showcase{border-radius:16px;padding:12px}.store-showcase-arrow{font-size:.8rem}.store-showcase-logo{width:50px;height:50px}.store-showcase-slider,.store-product-slider{overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.store-showcase-slider::-webkit-scrollbar,.store-product-slider::-webkit-scrollbar{display:none}.store-showcase-slide,.store-product-slide{min-width:155px}.cards{grid-template-columns:1fr}.search{grid-template-columns:1fr}.grid.two{grid-template-columns:1fr}.mobile-menu-toggle span{display:inline!important}}

/* Global news / announcement ticker */
.news-ticker{display:flex;align-items:stretch;margin:12px 0 18px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow);min-height:42px}.news-ticker-label{display:flex;align-items:center;padding:0 13px;background:var(--accent);color:#fff;font-size:.75rem;font-weight:900;letter-spacing:.06em;white-space:nowrap;z-index:2}.news-ticker-viewport{min-width:0;overflow:hidden;flex:1}.news-ticker-track{display:inline-flex;align-items:center;min-width:max-content;height:42px;animation:newsTickerMove 34s linear infinite}.news-ticker-track:hover{animation-play-state:paused}.news-ticker-track a,.news-ticker-track span:not(.ticker-sep){color:var(--ink);text-decoration:none;font-weight:700;white-space:nowrap}.news-ticker-track a:hover{text-decoration:underline;color:var(--accent)}.ticker-sep{margin:0 24px;color:var(--accent-2);font-size:.65rem}@keyframes newsTickerMove{from{transform:translateX(0)}to{transform:translateX(-50%)}}@media(max-width:600px){.news-ticker-label{padding:0 9px;font-size:.68rem}.news-ticker-track{animation-duration:28s}.ticker-sep{margin:0 16px}}

/* Super Admin ticker editor: centered modal instead of right-side table panel */
.news-edit-panel{display:none}
.news-edit[open] .news-edit-panel{display:block;position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 40px);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:0 24px 70px rgba(15,23,42,.28),0 0 0 100vmax rgba(15,23,42,.38);z-index:1001}
.news-edit[open] 
.news-edit-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;font-size:1.1rem}
.news-edit-close{font-size:1.25rem;padding:4px 10px}
.news-edit[open]>summary{position:relative;z-index:1002}
/* Merchant growth dashboard */
.check-list{list-style:none;padding:0;margin:10px 0;display:grid;gap:7px}.check-list li{padding:7px 9px;background:var(--soft);border-radius:9px;font-weight:700}.login-warning{font-size:.85rem;font-weight:800;color:#b45309;background:#fffbeb;border:1px solid #fcd34d;border-radius:9px;padding:9px 11px}.table-wrap{overflow:auto}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.kpi{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px;box-shadow:var(--shadow)}.kpi strong{display:block;font-size:1.45rem;margin-top:4px}@media(max-width:800px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.kpis{grid-template-columns:1fr}}

/* Real-time notification center */
.notification-center{position:relative;margin-left:auto;display:flex;align-items:center}.notification-bell{position:relative;border:0;background:transparent;font-size:1.25rem;cursor:pointer;padding:.45rem}.notification-count{position:absolute;right:-1px;top:-1px;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:#dc2626;color:#fff;font-size:.68rem;line-height:18px;text-align:center;font-weight:800}.notification-panel{position:absolute;right:0;top:calc(100% + .5rem);width:min(390px,calc(100vw - 2rem));background:#fff;border:1px solid #d7dee8;border-radius:14px;box-shadow:0 18px 50px rgba(15,23,42,.18);z-index:1000;padding:.75rem}.notification-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;border-bottom:1px solid #e5e7eb;padding:.25rem .25rem .65rem}.notification-list{max-height:390px;overflow:auto}.notification-item{display:block;padding:.7rem .55rem;border-bottom:1px solid #eef2f7;text-decoration:none;color:inherit}.notification-item.unread{background:#f0fdf4}.notification-item strong{display:block;font-size:.9rem}.notification-item p{margin:.2rem 0;font-size:.82rem;line-height:1.35}.notification-item time{font-size:.7rem;color:#64748b}.notification-read-all{width:100%;margin-top:.65rem}.notification-toast{position:fixed;right:1rem;bottom:1rem;z-index:1200;width:min(380px,calc(100vw - 2rem));padding:.9rem 1rem;border-radius:12px;background:#0f172a;color:#fff;box-shadow:0 15px 45px rgba(0,0,0,.22)}
@media(max-width:700px){.notification-panel{position:fixed;right:.75rem;top:4.1rem}.notification-center{margin-left:0}}

.product-edit{margin-bottom:.5rem}.product-edit summary{cursor:pointer;font-weight:700;display:inline-block;padding:.35rem .7rem}.product-edit form{margin-top:.75rem;padding:.9rem;border:1px solid var(--border,#ddd);border-radius:.75rem;background:var(--card,#fff)}

/* v1.5.11: persistent merchant navigation on every merchant page */
.merchant-page-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:start}.global-merchant-side{position:sticky;top:82px}.merchant-page-content{min-width:0}.product-edit{border:1px solid var(--line);border-radius:9px;background:#fff}.product-edit summary{cursor:pointer;font-weight:800;display:block;padding:8px 10px;color:var(--accent);white-space:nowrap}.product-edit[open] summary{background:var(--soft);border-bottom:1px solid var(--line)}.product-edit form{margin:0;padding:12px}
@media(max-width:1100px){.merchant-page-shell{grid-template-columns:1fr}.global-merchant-side{position:relative;top:auto}.merchant-page-content{min-width:0}}


/* v1.5.12 performance chart */
.performance-card{margin-top:1rem}.performance-chart{height:260px;display:flex;align-items:flex-end;gap:clamp(6px,1.5vw,16px);padding:1.5rem 1rem 0;border-top:1px solid var(--border,#e5e7eb);overflow-x:auto}.perf-bar-wrap{min-width:72px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:.35rem}.perf-value{font-size:.72rem;color:var(--muted,#64748b);white-space:nowrap}.perf-bar{width:min(42px,7vw);min-height:4px;border-radius:8px 8px 2px 2px;background:var(--primary,#0f766e);transition:opacity .2s}.perf-bar-wrap:hover .perf-bar{opacity:.75}.perf-bar-wrap span{font-size:.72rem;color:var(--muted,#64748b);white-space:nowrap}@media(max-width:700px){.performance-chart{height:220px}.perf-bar-wrap{min-width:58px}.perf-value{font-size:.65rem}.perf-bar{width:30px}}

/* v1.5.13 interactive 30-day performance charts */
.chart-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.chart-tab{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:7px 12px;font-weight:800;cursor:pointer}.chart-tab.active{background:var(--accent);color:#fff;border-color:var(--accent)}.line-chart{border-top:1px solid var(--line);padding-top:8px;min-height:320px}.chart-scroll{overflow-x:auto;overflow-y:hidden}.performance-svg{display:block;width:100%;min-width:620px;height:300px}.chart-grid{stroke:#e5e7eb;stroke-width:1}.chart-axis{fill:#64748b;font-size:10px}.chart-line{stroke:var(--accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.chart-dot{fill:var(--accent);stroke:#fff;stroke-width:2}.chart-summary{display:flex;justify-content:space-between;gap:10px;padding:8px 2px;color:var(--muted);font-size:.82rem}.chart-summary strong{color:var(--ink);font-size:1rem}.chart-summary span{font-weight:700}@media(max-width:700px){.line-chart{min-height:285px}.performance-svg{height:270px}.chart-summary{display:block}.chart-summary span{display:block;margin-top:3px}}

.pagination{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.inline-search{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.inline-search input{min-width:260px}

/* Merchant store themes: scoped to public store components only; platform UI stays independent */
.store-theme-blue .store-hero{background:linear-gradient(135deg,#eff6ff,#f8fafc);border-color:#bfdbfe}.store-theme-orange .store-hero{background:linear-gradient(135deg,#fff7ed,#f8fafc);border-color:#fed7aa}.store-theme-purple .store-hero{background:linear-gradient(135deg,#f5f3ff,#f8fafc);border-color:#ddd6fe}.store-theme-red .store-hero{background:linear-gradient(135deg,#fef2f2,#f8fafc);border-color:#fecaca}.store-theme-emerald .store-hero{background:linear-gradient(135deg,#ecfdf5,#f8fafc);border-color:#a7f3d0}
.store-theme-blue .store-hero .eyebrow,.store-theme-blue .store-hero .hero-actions .button,.store-theme-blue .store-page-slideshow .store-product-slide span{color:#2563eb}.store-theme-orange .store-hero .eyebrow,.store-theme-orange .store-hero .hero-actions .button,.store-theme-orange .store-page-slideshow .store-product-slide span{color:#ea580c}.store-theme-purple .store-hero .eyebrow,.store-theme-purple .store-hero .hero-actions .button,.store-theme-purple .store-page-slideshow .store-product-slide span{color:#7c3aed}.store-theme-red .store-hero .eyebrow,.store-theme-red .store-hero .hero-actions .button,.store-theme-red .store-page-slideshow .store-product-slide span{color:#dc2626}.store-theme-emerald .store-hero .eyebrow,.store-theme-emerald .store-hero .hero-actions .button,.store-theme-emerald .store-page-slideshow .store-product-slide span{color:#059669}.store-theme-blue .store-hero .hero-actions .button{border-color:#2563eb}.store-theme-orange .store-hero .hero-actions .button{border-color:#ea580c}.store-theme-purple .store-hero .hero-actions .button{border-color:#7c3aed}.store-theme-red .store-hero .hero-actions .button{border-color:#dc2626}.store-theme-emerald .store-hero .hero-actions .button{border-color:#059669}
/* Global App themes: independent from Merchant Store themes. */
.global-theme-teal{--accent:#0f766e;--accent-2:#14b8a6;--soft:#f0fdfa}
.global-theme-ocean{--accent:#0369a1;--accent-2:#0ea5e9;--soft:#f0f9ff}
.global-theme-royal{--accent:#4338ca;--accent-2:#6366f1;--soft:#eef2ff}
.global-theme-sunset{--accent:#c2410c;--accent-2:#f97316;--soft:#fff7ed}
.global-theme-rose{--accent:#be123c;--accent-2:#f43f5e;--soft:#fff1f2}
.global-theme-graphite{--accent:#334155;--accent-2:#64748b;--soft:#f1f5f9}
/* Merchant themes intentionally override only public-store visual tokens/components. */
.store-theme-teal{--accent:#0f766e;--accent-2:#14b8a6;--soft:#f0fdfa}
.store-theme-blue{--accent:#2563eb;--accent-2:#60a5fa;--soft:#eff6ff}
.store-theme-orange{--accent:#ea580c;--accent-2:#fb923c;--soft:#fff7ed}
.store-theme-purple{--accent:#7c3aed;--accent-2:#a78bfa;--soft:#f5f3ff}
.store-theme-red{--accent:#dc2626;--accent-2:#f87171;--soft:#fef2f2}
.store-theme-emerald{--accent:#059669;--accent-2:#34d399;--soft:#ecfdf5}
/* Keep Merchant theme scoped to the public Store so it cannot recolor App/Home/Admin UI. */
.store-theme-blue .store-hero,.store-theme-orange .store-hero,.store-theme-purple .store-hero,.store-theme-red .store-hero,.store-theme-emerald .store-hero{background:linear-gradient(135deg,var(--soft),#f8fafc)}

/* v1.5.38: logged-in Merchant theme owns the complete merchant application UI.
   Global App themes remain scoped to non-merchant App/Home/Admin surfaces. */
.store-theme-blue .merchant-page-content,.store-theme-blue .dashboard-content,.store-theme-blue .merchant-page-shell,
.store-theme-orange .merchant-page-content,.store-theme-orange .dashboard-content,.store-theme-orange .merchant-page-shell,
.store-theme-purple .merchant-page-content,.store-theme-purple .dashboard-content,.store-theme-purple .merchant-page-shell,
.store-theme-red .merchant-page-content,.store-theme-red .dashboard-content,.store-theme-red .merchant-page-shell,
.store-theme-emerald .merchant-page-content,.store-theme-emerald .dashboard-content,.store-theme-emerald .merchant-page-shell { --merchant-accent:var(--accent); }
.store-theme-blue .dashboard-side a:hover,.store-theme-blue .dashboard-side a.active,
.store-theme-orange .dashboard-side a:hover,.store-theme-orange .dashboard-side a.active,
.store-theme-purple .dashboard-side a:hover,.store-theme-purple .dashboard-side a.active,
.store-theme-red .dashboard-side a:hover,.store-theme-red .dashboard-side a.active,
.store-theme-emerald .dashboard-side a:hover,.store-theme-emerald .dashboard-side a.active { background:var(--soft);color:var(--accent); }


/* v1.5.53: visual merchant Store usage guide and benefits */
.guide-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;margin-bottom:18px;background:linear-gradient(135deg,var(--soft),#fff);border:1px solid var(--line)}
.guide-hero h1{margin:.25rem 0 .4rem}.guide-hero p{margin:0;max-width:700px;color:var(--muted)}
.guide-section{margin:22px 0}.guide-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.guide-step{position:relative;background:var(--card,#fff);border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow);overflow:hidden}
.guide-step:before{content:"";display:block;height:4px;background:linear-gradient(90deg,var(--accent),var(--accent-2));position:absolute;left:0;right:0;top:0}
.guide-step-no{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--accent);font-weight:900;font-size:.8rem;margin-bottom:12px;border:1px solid var(--line)}
.guide-step h3,.guide-benefit h3{margin:.1rem 0 .4rem}.guide-step p,.guide-benefit p{color:var(--muted);font-size:.88rem;line-height:1.5}.guide-step .button{margin-top:8px}
.guide-flow{position:relative;display:flex;align-items:stretch;justify-content:space-between;gap:10px;margin:12px 0 28px;padding:4px 0}.guide-flow-line{position:absolute;left:8%;right:8%;top:29px;height:3px;background:var(--line)}
.guide-flow-node{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;min-width:110px}.guide-flow-node:before{content:"";width:50px;height:50px;border-radius:50%;background:var(--accent);border:6px solid var(--soft);box-shadow:0 0 0 1px var(--line);margin-bottom:2px}.guide-flow-node strong{font-size:.88rem}.guide-flow-node span{font-size:.75rem;color:var(--muted)}
.guide-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.guide-benefit{padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--card,#fff);box-shadow:var(--shadow)}.guide-icon{font-size:1.8rem;margin-bottom:8px}.guide-tip{margin-top:20px;padding:18px}.guide-tip p{margin:.45rem 0 0;color:var(--muted)}
@media(max-width:1000px){.guide-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-flow{overflow-x:auto;justify-content:flex-start;padding:4px 8px 8px}.guide-flow-line{left:70px;right:70px;min-width:500px}.guide-flow-node{min-width:125px}}
@media(max-width:600px){.guide-hero{display:block}.guide-hero .button{display:inline-block;margin-top:14px}.guide-steps,.guide-benefits{grid-template-columns:1fr}.guide-flow{gap:16px}.guide-flow-node{min-width:115px}.guide-flow-line{left:65px;right:65px}}

/* v1.5.69: restore non-sticky mobile header/menu behavior from the working base. */
@media(max-width:760px){header{position:relative!important;top:auto!important}#site-nav{position:absolute!important}}


/* v1.5.78 compact unified login menu */
.nav-login-menu{position:relative;display:inline-block}
.nav-login-toggle{border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:10px;padding:9px 13px;font-weight:800;cursor:pointer}
.nav-login-dropdown{position:absolute;right:0;top:calc(100% + 8px);min-width:190px;background:var(--card,#fff);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:6px;z-index:1000;display:none}
.nav-login-menu.open .nav-login-dropdown{display:grid}
.nav-login-dropdown a{display:block;padding:10px 12px;border-radius:8px;text-decoration:none;color:var(--text);font-weight:700;white-space:nowrap}
.nav-login-dropdown a:hover,.nav-login-dropdown a:focus{background:var(--soft);color:var(--accent)}
@media(max-width:720px){.nav-login-menu{width:auto}.nav-login-dropdown{right:0;min-width:180px}}

/* v1.5.81: marketplace-style commerce UI refresh (Amazon-inspired, not a brand clone). */
:root{--nav:#131921;--nav-2:#232f3e;--amazon-orange:#ff9900;--amazon-yellow:#febd69;--link:#007185;--page:#eaeded;--card:#fff;--shadow:0 2px 6px rgba(0,0,0,.12);--line:#d5d9d9;--ink:#0f1111;--muted:#565959;--accent:var(--amazon-orange);--accent-2:#ffb84d;--soft:#f7f7f7}
html,body{background:var(--page);color:var(--ink)}
body{font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.45}
header{position:relative;top:auto;background:var(--nav);border:0;color:#fff;min-height:64px;padding:8px max(12px,calc((100% - 1440px)/2));gap:12px;backdrop-filter:none;box-shadow:0 1px 0 rgba(255,255,255,.05)}
.brand{color:#fff;font-size:1.35rem;padding:8px 6px;border:1px solid transparent}.brand:hover{border-color:#fff;color:#fff}
.mobile-menu-toggle{background:transparent;border:1px solid transparent;color:#fff;padding:8px 10px;border-radius:4px}.mobile-menu-toggle:hover{border-color:#fff;opacity:1;transform:none}
nav{margin-left:0;gap:2px;align-items:stretch;flex:1}
nav a{color:#fff;padding:8px 10px;border:1px solid transparent;border-radius:4px;font-weight:700;font-size:.92rem}
nav a:hover,nav a.active{background:var(--nav-2);color:#fff;border-color:#fff}
.language-form{display:flex;align-items:center;margin-left:auto}.language-form select{width:auto;min-width:92px;height:38px;border-radius:4px;border:1px solid #adb1b8;background:#fff;color:#111;padding:7px 28px 7px 9px}
.notification-center{margin-left:2px}.notification-bell{color:#fff;border:1px solid transparent;background:transparent;border-radius:4px}.notification-bell:hover{border-color:#fff;transform:none;opacity:1}
.wrap{max-width:1280px;margin:0 auto;padding:24px 18px 44px}.wrap.wide{max-width:1440px}
main{background:var(--page)}
footer{background:var(--nav-2);color:#ddd;border-top:0;margin-top:20px}
.card,.login-card,.kpi,.manage-card,.store-admin-card,.guide-step,.guide-benefit,.guide-hero,.guide-tip{background:#fff;border:1px solid var(--line);border-radius:2px;box-shadow:var(--shadow)}
.card{padding:18px;margin:12px 0}
button,.button{background:var(--amazon-orange);color:#111;border:1px solid #a88734;border-radius:8px;box-shadow:inset 0 1px 0 rgba(255,255,255,.5);font-weight:700}
button:hover,.button:hover{transform:none;opacity:1;background:#f7ca00}
.secondary{background:#fff;color:#111;border-color:#888}.secondary:hover{background:#f7fafa}.danger{background:#c7511f;color:#fff;border-color:#a33a12}.ghost{background:#fff;color:#111;border-color:#888}
a{color:var(--link)}
h1,h2,h3{color:#111}
h1{font-size:2rem}h2{font-size:1.55rem}h3{font-size:1.2rem}
input,textarea,select{border:1px solid #888;border-radius:3px;background:#fff;color:#111;padding:9px 10px}input:focus,textarea:focus,select:focus{outline:2px solid var(--amazon-yellow);outline-offset:1px}
table{background:#fff;border:1px solid var(--line);font-size:.92rem}th{background:#f3f3f3;color:#111;font-weight:700}th,td{border-bottom:1px solid #e7e7e7}
.subnav{border-bottom:1px solid var(--line)}.subnav a{background:#fff;border:1px solid #aab2bd;border-radius:2px;color:#111}.subnav a.active{background:var(--nav-2);color:#fff;border-color:var(--nav-2)}
.hero{padding:34px 0 28px}.hero h1{font-size:clamp(2.2rem,5vw,4rem);font-weight:800}
.hero p{color:#37475a}
.hero-actions{gap:8px}
.search{max-width:100%;grid-template-columns:minmax(0,1fr) 220px auto;background:#fff;padding:8px;border-radius:4px;box-shadow:var(--shadow)}
.search input,.search select{border:0;box-shadow:none}.search button{border-radius:0 3px 3px 0;min-width:100px}
.products{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}.product{background:#fff;border:1px solid #ddd;border-radius:2px;padding:14px;display:block;box-shadow:var(--shadow)}.product-image{width:100%;max-width:none;aspect-ratio:1/1;background:#f7f7f7;margin-bottom:10px}.product h3{font-size:1rem;line-height:1.35}.product p{font-size:.9rem}
.product-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.product-card{background:#fff;border:1px solid #ddd;border-radius:2px;box-shadow:var(--shadow);padding:12px}
.available{color:#007600}.soldout{color:#b12704}
.store-head,.store-hero{background:#fff;border:1px solid var(--line);border-radius:2px;box-shadow:var(--shadow)}
.store-hero{grid-template-columns:minmax(0,1fr) 250px;padding:28px}.store-hero-side{border:1px solid var(--line);box-shadow:none;border-radius:2px}.store-toolbar{background:#fff;border-bottom:1px solid var(--line);padding:10px 0}
.platform-store-bar{background:#fff;border-bottom:1px solid #d5d9d9}.platform-store-inner{padding-top:8px;padding-bottom:8px}.platform-store-link{display:flex;align-items:center;gap:12px;color:#111;text-decoration:none}.platform-store-link strong{font-size:1.05rem}.platform-store-badge{margin-left:auto;background:var(--nav-2);color:#fff;padding:4px 8px;border-radius:2px;font-size:.75rem;font-weight:700}
.announcement-ticker,.ticker{border-radius:2px}
.admin-shell{grid-template-columns:250px minmax(0,1fr);gap:16px}.admin-side{top:16px;border-radius:2px;box-shadow:var(--shadow);padding:8px}.admin-side a{border-radius:2px}.admin-side a:hover,.admin-side a.active{background:#eef0f2;color:#111;border-left:4px solid var(--amazon-orange)}
.dashboard-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:16px;align-items:start}.dashboard-menu-col{position:sticky;top:16px;align-self:start}.dashboard-side{background:#fff;border:1px solid var(--line);border-radius:2px;box-shadow:var(--shadow);padding:8px}.dashboard-side a{display:block;color:#111;text-decoration:none;padding:9px 11px;border-radius:2px;border-left:4px solid transparent;font-weight:700}.dashboard-side a:hover,.dashboard-side a.active{background:#eef0f2;border-left-color:var(--amazon-orange)}.side-menu-toggle{display:none}
.kpis{gap:12px}.kpi{border-radius:2px}.kpi strong{font-size:1.5rem}
.badge{border-radius:2px;background:#eaeded;color:#111}.badge.success{background:#d5f2d5;color:#067d62}
.profile-meta{border-radius:2px;background:#f7f7f7}
.notification-panel{border-radius:2px;box-shadow:0 8px 28px rgba(0,0,0,.25)}
/* v1.5.87: notification panel is a light surface; never inherit header's white text */
.notification-panel,.notification-panel *{color:var(--ink,#17212b)}
.notification-panel .notification-head strong{color:var(--ink,#17212b)}
.notification-panel .notification-item{color:var(--ink,#17212b)}
.notification-panel .notification-item p{color:var(--ink,#17212b)}
.notification-panel .notification-item time{color:var(--muted,#64748b)}
.notification-panel .notification-read-all{color:#fff}

.guide-step,.guide-benefit{border-radius:2px}.guide-step:before{background:var(--amazon-orange)}.guide-step-no{border-radius:2px;background:#eef0f2;color:#111}.guide-hero{background:#fff}.guide-tip{background:#fff}
.nav-login-toggle{background:transparent;color:#fff;border:1px solid #fff;border-radius:3px}.nav-login-toggle:hover{background:var(--nav-2)}.nav-login-dropdown{border-radius:2px;box-shadow:0 8px 22px rgba(0,0,0,.25)}.nav-login-dropdown a:hover,.nav-login-dropdown a:focus{background:#eef0f2;color:#111}
@media(max-width:1100px){nav a{font-size:.85rem;padding:7px 8px}.dashboard-layout,.admin-shell{grid-template-columns:1fr}.dashboard-menu-col{position:relative;top:auto}.dashboard-side{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.dashboard-side a{border-left:0}.dashboard-side a:hover,.dashboard-side a.active{border-left:0;border-bottom:3px solid var(--amazon-orange)}.store-hero{grid-template-columns:1fr}}
@media(max-width:760px){header{position:relative!important;display:flex;align-items:center;flex-wrap:wrap;padding:7px 10px}nav{order:4;flex-basis:100%;width:100%;overflow-x:auto}.brand{flex:1}.mobile-menu-toggle{display:inline-flex}.wrap{padding:16px 10px 32px}.search{grid-template-columns:1fr;padding:6px}.search button{min-width:100%;border-radius:3px}.hero{padding-top:22px}.hero h1{font-size:2.1rem}.products,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product{padding:10px}.dashboard-side{grid-template-columns:1fr}.language-form{margin-left:0}.notification-center{margin-left:0}.store-toolbar{display:block}.store-search{margin-top:8px}.store-hero{padding:18px}}
@media(max-width:480px){.products,.product-grid{grid-template-columns:1fr}.kpis{grid-template-columns:1fr}.platform-store-badge{display:none}}

/* v1.5.82: mobile unified-login fix + Google Translate widget. */
.google-translate-widget{display:flex;align-items:center;margin-left:8px;min-width:120px;min-height:38px}
.google-translate-widget .goog-te-gadget{font-family:Arial,Helvetica,sans-serif!important;font-size:0}
.google-translate-widget .goog-te-gadget select{font-size:13px!important;height:36px;max-width:150px;border:1px solid #adb1b8;border-radius:4px;background:#fff;color:#111;padding:5px 24px 5px 8px}
.goog-te-banner-frame.skiptranslate{display:none!important}
body{top:0!important}
@media(max-width:760px){
  .google-translate-widget{order:4;margin-left:auto;min-width:0}
  .google-translate-widget .goog-te-gadget select{max-width:132px;height:36px}
  header nav{overflow:visible}
  .nav-login-menu{position:relative}
  .nav-login-menu .nav-login-dropdown{position:absolute;right:0;top:calc(100% + 6px);z-index:2000;min-width:190px}
  .nav-login-menu.open .nav-login-dropdown{display:grid}
  header nav.mobile-open{overflow:visible}
}


/* v1.5.84: reliable admin/merchant mobile navigation. Keep header navigation usable
   on authenticated dashboards and make side-menu toggle available on touch screens. */
@media(max-width:1100px){
  .side-menu-toggle{display:inline-flex}
  .admin-side{position:absolute;left:0;top:56px;width:min(320px,92vw);z-index:110;display:none;max-height:calc(100vh - 100px);overflow:auto;background:#fff}
  .admin-side.side-open{display:grid}
}
@media(max-width:760px){
  header nav#site-nav{background:var(--nav-2);border:1px solid rgba(255,255,255,.22);box-shadow:0 14px 30px rgba(0,0,0,.28);overflow:visible;max-height:calc(100vh - 70px);overflow-y:auto}
  header nav#site-nav a{color:#fff;background:transparent;border-color:transparent}
  header nav#site-nav a:hover,header nav#site-nav a.active{background:#37475a;color:#fff;border-color:rgba(255,255,255,.18)}
  header nav#site-nav .nav-login-menu{align-self:stretch}
  header nav#site-nav .nav-login-toggle{width:100%;text-align:left}
  header nav#site-nav .nav-login-dropdown{position:static;width:100%;margin-top:6px;box-sizing:border-box;background:#fff}
  .notification-panel{right:8px;left:8px;top:58px;width:auto;max-width:none;box-sizing:border-box}
  .notification-head{flex-wrap:wrap}
  .notification-head .ghost{flex:1 1 auto;min-width:140px}
}

/* v1.5.85: Amazon default app theme + accessible login dropdown */
.global-theme-amazon{
  --ink:#17212b;--muted:#5f6b7a;--line:#d5d9d9;--accent:#ff9900;--accent-2:#febd69;
  --soft:#fff7e6;--danger:#b12704;--bg:#eaeded;--card:#fff;--shadow:0 6px 18px rgba(0,0,0,.08);
}
.global-theme-amazon header{background:#131921;color:#fff;border-bottom-color:#232f3e}
.global-theme-amazon .brand{color:#fff}
.global-theme-amazon nav a{color:#fff}
.global-theme-amazon nav a:hover,.global-theme-amazon nav a.active{background:#232f3e;color:#febd69}
.global-theme-amazon .nav-login-toggle{background:#ff9900;color:#111;border-color:#ff9900}
.global-theme-amazon .nav-login-toggle:hover{background:#febd69}
.global-theme-amazon button,.global-theme-amazon .button{background:#ff9900;color:#111}
.global-theme-amazon .secondary{background:#232f3e;color:#fff}
.global-theme-amazon .ghost{background:#fff;color:#17212b}
.global-theme-amazon .nav-login-dropdown{
  background:#fff!important;color:#17212b!important;border:1px solid #d5d9d9;
  box-shadow:0 10px 28px rgba(0,0,0,.22);padding:6px;
}
.global-theme-amazon .nav-login-dropdown a{background:#fff!important;color:#17212b!important}
.global-theme-amazon .nav-login-dropdown a:hover,.global-theme-amazon .nav-login-dropdown a:focus{
  background:#eaeded!important;color:#c45500!important
}
.nav-login-dropdown a{background:#fff;color:#17212b}
.store-algorithm-slot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 16px;padding:12px 16px;border:1px dashed var(--line);border-radius:12px;background:var(--soft)}
.store-algorithm-slot strong{color:var(--accent)}
.search-chip-list{display:flex;flex-wrap:wrap;gap:8px}.search-chip{display:inline-flex;gap:7px;align-items:center;padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:.86rem}.search-chip strong{color:var(--accent)}
@media(max-width:720px){.store-algorithm-slot{align-items:flex-start;flex-direction:column}.nav-login-dropdown a{padding:11px 12px}}

/* v1.5.88: application header icon + platform HOT promotion strip */
.brand{display:inline-flex;align-items:center;gap:8px}.brand-icon{width:30px;height:30px;display:block;flex:0 0 30px;border-radius:7px}.brand span{line-height:1}
.platform-showcase{display:flex;align-items:center;gap:14px;min-height:92px;padding:10px 12px}.platform-hot-label{width:82px;min-width:82px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:3px}.platform-hot-icon{display:inline-grid;place-items:center;width:48px;height:32px;border-radius:6px;background:#b12704;color:#fff;font-size:.82rem;font-weight:950;letter-spacing:.06em;box-shadow:0 3px 8px rgba(177,39,4,.25)}.platform-hot-label small{font-size:.62rem;color:var(--muted);font-weight:800;line-height:1.1}.platform-hot-products{display:flex;gap:10px;overflow-x:auto;flex:1;scrollbar-width:none}.platform-hot-products::-webkit-scrollbar{display:none}.platform-hot-product{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:86px;text-decoration:none;color:var(--ink);padding:3px}.platform-hot-product img,.platform-hot-product .showcase-placeholder{width:68px;height:68px;border-radius:10px;object-fit:cover;background:#f8fafc;border:1px solid var(--line)}.platform-hot-product span{font-weight:900;font-size:.84rem;color:var(--accent)}.platform-hot-product:hover img,.platform-hot-product:hover .showcase-placeholder{transform:translateY(-2px);box-shadow:0 5px 12px rgba(0,0,0,.12)}.platform-hot-product:hover span{text-decoration:underline}.product-detail{display:grid;grid-template-columns:minmax(280px,480px) minmax(0,1fr);gap:30px;padding:24px}.product-detail-media{display:flex;align-items:flex-start;justify-content:center}.product-detail-image{width:100%;max-width:480px;aspect-ratio:1;object-fit:contain;border-radius:16px;background:#fff;border:1px solid var(--line)}.product-detail-image.placeholder{display:grid;place-items:center;color:var(--muted);font-size:1rem}.product-detail-copy h1{margin:.25rem 0 .75rem}.product-detail-price{font-size:1.8rem;font-weight:950;color:var(--accent);margin:.5rem 0}.product-detail-description{margin:18px 0;padding-top:18px;border-top:1px solid var(--line);line-height:1.7}@media(max-width:760px){.brand-icon{width:28px;height:28px;flex-basis:28px}.platform-showcase{align-items:flex-start;padding:10px}.platform-hot-label{width:58px;min-width:58px}.platform-hot-icon{width:46px}.platform-hot-label small{font-size:.55rem}.platform-hot-product{min-width:76px}.platform-hot-product img,.platform-hot-product .showcase-placeholder{width:62px;height:62px}.product-detail{grid-template-columns:1fr;padding:16px;gap:18px}.product-detail-image{max-width:100%}}

/* v1.5.89 production fixes */
.side-menu-toggle{display:none!important}
@media(max-width:1100px){.side-menu-toggle{display:inline-flex!important}}
.platform-hot-icon{animation:hotPulse 1.35s ease-in-out infinite;transform-origin:center}
@keyframes hotPulse{0%,100%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.08);filter:brightness(1.18)}}
.platform-hot-products{scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.platform-hot-product{scroll-snap-align:start;flex:0 0 auto}
@media(max-width:760px){.platform-hot-products{scroll-snap-type:x mandatory;padding-bottom:4px}.platform-hot-product{min-width:78px}}
.notification-panel .notification-read-all{display:block!important;background:#232f3e!important;color:#fff!important;border:1px solid #131921!important;font-weight:800!important;opacity:1!important;visibility:visible!important}
.notification-panel .notification-read-all:hover,.notification-panel .notification-read-all:focus{background:#131921!important;color:#fff!important}

/* v1.5.89: Dashboard Menu is a mobile drawer control only; prevent desktop duplicate menu labels. */
.side-menu-toggle{display:none!important}
@media(max-width:1100px){.side-menu-toggle{display:inline-flex!important}}
/* v1.5.89: HOT is an animated promotion marker; no secondary label. */
.platform-hot-icon{animation:lcHotPulse 1.25s ease-in-out infinite;transform-origin:center;will-change:transform,filter}
@keyframes lcHotPulse{0%,100%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.1);filter:brightness(1.2)}}
.platform-hot-products{scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.platform-hot-product{scroll-snap-align:start;flex:0 0 auto}
@media(max-width:760px){.platform-hot-products{padding-bottom:5px}.platform-hot-product{min-width:78px}}
/* v1.5.89: notification action must remain visible on every theme. */
.notification-panel .notification-read-all{display:block!important;visibility:visible!important;opacity:1!important;background:#232f3e!important;color:#fff!important;border:1px solid #131921!important;font-weight:800!important}
.notification-panel .notification-read-all:hover,.notification-panel .notification-read-all:focus{background:#131921!important;color:#fff!important}

/* v1.5.90: Self Store promotion presentation and reliable mobile auto-carousel. */
.platform-showcase{position:relative;display:flex;align-items:center;gap:12px;min-height:88px;margin:0 0 10px;padding:10px 12px}
.platform-hot-label{width:52px;min-width:52px;display:flex;align-items:center;justify-content:center}
.platform-hot-icon{width:46px;height:46px;aspect-ratio:1/1;border-radius:50%;display:grid;place-items:center;line-height:1}
.platform-hot-label small{display:none!important}
.platform-hot-products{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;flex:1;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none}
.platform-hot-products::-webkit-scrollbar{display:none}
.platform-hot-product{flex:0 0 auto;scroll-snap-align:start}
.news-ticker{margin:0 0 18px}
@media(max-width:760px){
  .platform-showcase{gap:8px;min-height:86px;padding:9px 10px}
  .platform-hot-label{width:48px;min-width:48px}
  .platform-hot-icon{width:44px;height:44px}
  .platform-hot-products{gap:8px;overflow-x:auto;touch-action:pan-x}
  .platform-hot-product{min-width:78px}
  .platform-hot-product img,.platform-hot-product .showcase-placeholder{width:62px;height:62px}
}
@media(prefers-reduced-motion:reduce){.platform-hot-icon{animation:none!important}.platform-hot-products{scroll-behavior:auto!important}}

/* v1.5.94: global menu contrast normalization. UI/CSS only; no application logic changed. */
/* Dark surfaces use light text; light menu surfaces use dark text. */
.global-theme-amazon header nav#site-nav,
.global-theme-amazon header nav#site-nav a,
.global-theme-amazon header nav#site-nav .nav-login-toggle{
  color:#fff;
}
.global-theme-amazon header nav#site-nav a:hover,
.global-theme-amazon header nav#site-nav a.active{
  color:#febd69;
}

/* All dropdown/sub menus: light background + dark readable text. */
.global-theme-amazon .nav-login-dropdown,
.global-theme-amazon .nav-login-dropdown a,
.global-theme-amazon .dashboard-side,
.global-theme-amazon .dashboard-side a,
.global-theme-amazon .admin-side,
.global-theme-amazon .admin-side a,
.global-theme-amazon .subnav,
.global-theme-amazon .subnav a{
  background:#fff !important;
  color:#17212b !important;
}
.global-theme-amazon .nav-login-dropdown a:hover,
.global-theme-amazon .nav-login-dropdown a:focus,
.global-theme-amazon .dashboard-side a:hover,
.global-theme-amazon .dashboard-side a.active,
.global-theme-amazon .admin-side a:hover,
.global-theme-amazon .admin-side a.active,
.global-theme-amazon .subnav a:hover{
  background:#eef0f2 !important;
  color:#c45500 !important;
}
.global-theme-amazon .subnav a.active{
  background:#232f3e !important;
  color:#fff !important;
}

/* Mobile site menu is intentionally dark, therefore its links stay light. */
@media(max-width:1100px){
  .global-theme-amazon header nav#site-nav{
    background:#232f3e !important;
    color:#fff !important;
  }
  .global-theme-amazon header nav#site-nav a,
  .global-theme-amazon header nav#site-nav a:hover,
  .global-theme-amazon header nav#site-nav a.active{
    color:#fff !important;
    background:transparent !important;
  }
  .global-theme-amazon header nav#site-nav a:hover,
  .global-theme-amazon header nav#site-nav a.active{
    background:#37475a !important;
  }
  .global-theme-amazon header nav#site-nav .nav-login-dropdown,
  .global-theme-amazon header nav#site-nav .nav-login-dropdown a{
    background:#fff !important;
    color:#17212b !important;
  }
  .global-theme-amazon header nav#site-nav .nav-login-dropdown a:hover,
  .global-theme-amazon header nav#site-nav .nav-login-dropdown a:focus{
    background:#eef0f2 !important;
    color:#c45500 !important;
  }
}

/* Notification surface remains light; alert/toast remains dark with light text. */
.global-theme-amazon .notification-panel,
.global-theme-amazon .notification-panel *{
  color:#17212b;
}
.global-theme-amazon .notification-panel .notification-read-all{
  background:#232f3e !important;
  color:#fff !important;
}
.global-theme-amazon .notification-toast,
.global-theme-amazon .notification-toast *{
  background:#131921;
  color:#fff;
}

/* v1.5.95: FINAL MENU CONTRAST OVERRIDE
   Menu surfaces are dark and menu text is light. This block intentionally comes
   last so older theme/mobile rules cannot re-introduce white-on-white menus. */
.global-theme-amazon header nav#site-nav,
.global-theme-amazon header nav#site-nav .nav-login-dropdown,
.global-theme-amazon .dashboard-side,
.global-theme-amazon .admin-side,
.global-theme-amazon .subnav {
  background:#232f3e !important;
  color:#fff !important;
  border-color:#37475a !important;
}

.global-theme-amazon header nav#site-nav a,
.global-theme-amazon header nav#site-nav .nav-login-dropdown a,
.global-theme-amazon .dashboard-side a,
.global-theme-amazon .admin-side a,
.global-theme-amazon .subnav a {
  background:transparent !important;
  color:#fff !important;
  border-color:transparent !important;
}

.global-theme-amazon header nav#site-nav a:hover,
.global-theme-amazon header nav#site-nav a:focus,
.global-theme-amazon header nav#site-nav a.active,
.global-theme-amazon header nav#site-nav .nav-login-dropdown a:hover,
.global-theme-amazon header nav#site-nav .nav-login-dropdown a:focus,
.global-theme-amazon .dashboard-side a:hover,
.global-theme-amazon .dashboard-side a:focus,
.global-theme-amazon .dashboard-side a.active,
.global-theme-amazon .admin-side a:hover,
.global-theme-amazon .admin-side a:focus,
.global-theme-amazon .admin-side a.active,
.global-theme-amazon .subnav a:hover,
.global-theme-amazon .subnav a:focus {
  background:#37475a !important;
  color:#fff !important;
}

.global-theme-amazon .nav-login-menu .nav-login-toggle {
  background:#ff9900 !important;
  color:#111 !important;
  border-color:#ff9900 !important;
}
.global-theme-amazon .nav-login-menu .nav-login-toggle:hover,
.global-theme-amazon .nav-login-menu .nav-login-toggle:focus {
  background:#febd69 !important;
  color:#111 !important;
}

/* The login submenu is dark on both desktop and mobile. */
.global-theme-amazon .nav-login-dropdown,
.global-theme-amazon header nav#site-nav .nav-login-dropdown {
  background:#232f3e !important;
  color:#fff !important;
  border:1px solid #37475a !important;
}
.global-theme-amazon .nav-login-dropdown a,
.global-theme-amazon header nav#site-nav .nav-login-dropdown a {
  background:#232f3e !important;
  color:#fff !important;
}
.global-theme-amazon .nav-login-dropdown a:hover,
.global-theme-amazon .nav-login-dropdown a:focus,
.global-theme-amazon header nav#site-nav .nav-login-dropdown a:hover,
.global-theme-amazon header nav#site-nav .nav-login-dropdown a:focus {
  background:#37475a !important;
  color:#fff !important;
}

/* Mobile menu: the whole expanded menu is one dark surface. */
@media(max-width:760px){
  .global-theme-amazon header nav#site-nav,
  .global-theme-amazon header nav#site-nav.mobile-open {
    background:#232f3e !important;
    color:#fff !important;
    border-color:#37475a !important;
  }
  .global-theme-amazon header nav#site-nav .nav-login-menu,
  .global-theme-amazon header nav#site-nav .nav-login-dropdown {
    background:#232f3e !important;
    color:#fff !important;
  }
  .global-theme-amazon header nav#site-nav .nav-login-dropdown {
    position:static !important;
    width:100% !important;
    margin-top:6px !important;
    box-sizing:border-box !important;
    border:1px solid #37475a !important;
    box-shadow:0 10px 24px rgba(0,0,0,.28) !important;
  }
  .global-theme-amazon header nav#site-nav .nav-login-dropdown a {
    display:block !important;
    background:#232f3e !important;
    color:#fff !important;
  }
  .global-theme-amazon header nav#site-nav .nav-login-dropdown a:hover,
  .global-theme-amazon header nav#site-nav .nav-login-dropdown a:focus {
    background:#37475a !important;
    color:#fff !important;
  }
}

/* Never allow white menu text to sit on a light menu surface. */
.global-theme-amazon .dashboard-side,
.global-theme-amazon .admin-side,
.global-theme-amazon .subnav,
.global-theme-amazon .nav-login-dropdown {
  isolation:isolate;
}

/* v1.5.96: MOBILE NAVIGATION CONTRAST HARDENING
   This is CSS-only. It deliberately does not depend on theme classes because
   the mobile login dropdown is rendered inside the shared navigation shell.
   Keep every menu surface dark and every menu label light. */
@media (max-width: 760px) {
  header #site-nav,
  header #site-nav.mobile-open,
  header #site-nav[data-mobile-menu],
  header #site-nav .nav-login-menu,
  header #site-nav .nav-login-dropdown,
  header #site-nav .nav-login-dropdown a,
  header #site-nav ul,
  header #site-nav li,
  header #site-nav .subnav,
  header #site-nav .subnav a {
    background-color: #232f3e !important;
    color: #ffffff !important;
  }

  header #site-nav .nav-login-dropdown {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 6px !important;
    border: 1px solid #37475a !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  header #site-nav .nav-login-dropdown a,
  header #site-nav .subnav a {
    display: block !important;
    color: #ffffff !important;
    background-color: #232f3e !important;
    text-decoration: none !important;
  }

  header #site-nav .nav-login-dropdown a:hover,
  header #site-nav .nav-login-dropdown a:focus,
  header #site-nav .nav-login-dropdown a:active,
  header #site-nav .subnav a:hover,
  header #site-nav .subnav a:focus,
  header #site-nav .subnav a:active {
    background-color: #37475a !important;
    color: #ffffff !important;
  }

  header #site-nav .nav-login-menu .nav-login-toggle {
    background-color: #ff9900 !important;
    color: #111111 !important;
    border-color: #ff9900 !important;
  }
}

/* Desktop/mobile shared fallback: prevent white text on white menu surfaces. */
.nav-login-dropdown,
.nav-login-dropdown a,
.subnav,
.subnav a {
  --menu-bg: #232f3e;
  --menu-text: #ffffff;
}

/* 1.6.0 Single Store marketplace UI */
:root{--market-blue:#2874f0;--market-blue-dark:#1f5fc4;--market-yellow:#ffd814;--market-bg:#f1f3f6;--market-text:#172033}
body{background:var(--market-bg);color:var(--market-text)} header{background:var(--market-blue);color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.16);position:sticky;top:0;z-index:1000} header .brand,header nav a,header .ghost{color:#fff} header .brand-icon{background:#fff;border-radius:6px;padding:3px} nav a.active,nav a:hover{background:rgba(255,255,255,.14);color:#fff}.search{background:#fff;border-radius:4px;padding:8px;box-shadow:0 1px 4px rgba(0,0,0,.12)}.search input{border:0;box-shadow:none;background:#fff;color:#172033}.search button{background:var(--market-yellow);color:#172033;border:0;font-weight:700}.card,.product-card,.store-card,.lookup-product,.performance-card{background:#fff;border:1px solid #e5e7eb;box-shadow:0 1px 4px rgba(0,0,0,.08);border-radius:4px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.product-card:hover{transform:translateY(-2px);box-shadow:0 4px 14px rgba(0,0,0,.14)}.product-media{background:#fff}.product-image{object-fit:contain}.product-price{color:#111827;font-size:1.12rem}.button{background:var(--market-blue);border-color:var(--market-blue)}.button.secondary{background:#fff;color:var(--market-blue);border-color:#cbd5e1}.store-hero{background:#fff;border-radius:4px;padding:20px;box-shadow:0 1px 4px rgba(0,0,0,.08)}.admin-side,.dashboard-side{background:#fff;border:1px solid #e2e8f0;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.08)}.admin-side a,.dashboard-side a{color:#334155}.admin-side a.active,.dashboard-side a.active{background:#e8f0fe;color:#1d4ed8;border-left:3px solid var(--market-blue)}
@media(max-width:800px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.wrap{padding-left:8px;padding-right:8px}.search{display:grid;grid-template-columns:1fr auto}.search input{min-width:0}.search input:nth-child(2){display:none}}

/* v1.6.1: Full-app Flipkart-inspired marketplace UI refresh.
   Presentation layer only: no business logic, routes, queries or database changes. */
:root{
  --fk-blue:#2874f0;--fk-blue-dark:#172337;--fk-yellow:#ffe500;--fk-orange:#fb641b;
  --fk-page:#f1f3f6;--fk-white:#fff;--fk-text:#212121;--fk-muted:#878787;--fk-line:#e0e0e0;
  --fk-green:#388e3c;--fk-shadow:0 2px 8px rgba(0,0,0,.10);--fk-radius:2px;
}
html,body{background:var(--fk-page);color:var(--fk-text)}
body{font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.45}
header{position:sticky!important;top:0!important;min-height:64px;background:var(--fk-blue)!important;color:#fff;border:0!important;padding:8px max(10px,calc((100% - 1280px)/2))!important;gap:12px;box-shadow:0 2px 6px rgba(0,0,0,.2);z-index:1000}
.brand{display:flex!important;align-items:center;gap:7px;color:#fff!important;font-size:20px!important;font-weight:700;padding:4px 6px!important;border:0!important}
.brand:hover{color:#fff!important;border:0!important}.brand-icon{width:30px;height:30px;display:block;background:#fff;border-radius:4px;padding:2px}
.mobile-menu-toggle{display:none;background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.45)!important;border-radius:2px!important}
header nav{display:flex;align-items:center;gap:2px;flex:1;margin-left:8px}
header nav a{color:#fff!important;border:0!important;border-radius:2px!important;padding:11px 10px!important;font-weight:600}
header nav a:hover,header nav a.active{background:rgba(0,0,0,.15)!important;color:#fff!important}
.nav-login-toggle{background:#fff!important;color:var(--fk-blue)!important;border:0!important;font-weight:700!important;border-radius:2px!important}
.nav-login-toggle:hover{background:#f5f5f5!important;color:var(--fk-blue)!important}
.nav-login-dropdown{background:#fff!important;color:var(--fk-text)!important;border:1px solid var(--fk-line)!important;border-radius:2px!important;box-shadow:0 5px 18px rgba(0,0,0,.2)!important;overflow:hidden}
.nav-login-dropdown a{color:var(--fk-text)!important;background:#fff!important;border-radius:0!important;font-weight:600}
.nav-login-dropdown a:hover,.nav-login-dropdown a:focus{background:#f5f5f5!important;color:var(--fk-blue)!important}
.notification-bell{color:#fff!important}.notification-panel{background:#fff!important;color:var(--fk-text)!important;border:1px solid var(--fk-line)!important;border-radius:2px!important;box-shadow:0 5px 18px rgba(0,0,0,.2)!important}
.notification-panel *{color:var(--fk-text)}.notification-panel .notification-read-all{background:var(--fk-blue)!important;color:#fff!important}
.google-translate-widget .goog-te-gadget select{border:0!important;border-radius:2px!important}
.wrap{max-width:1280px;margin:0 auto;padding:18px 12px 42px}.wrap.wide{max-width:1440px}
main{background:var(--fk-page)!important}
footer{background:var(--fk-blue-dark)!important;color:#ddd!important;border:0!important}
.card,.login-card,.kpi,.manage-card,.store-admin-card,.guide-step,.guide-benefit,.guide-hero,.guide-tip,.store-head,.store-hero,.profile-meta{background:#fff!important;border:1px solid var(--fk-line)!important;border-radius:var(--fk-radius)!important;box-shadow:var(--fk-shadow)!important}
.card{padding:18px;margin:10px 0}.cards{gap:12px}
button,.button{background:var(--fk-orange)!important;color:#fff!important;border:0!important;border-radius:2px!important;box-shadow:none!important;font-weight:700}
button:hover,.button:hover{background:#e85b18!important;transform:none;opacity:1}
.secondary,.ghost{background:#fff!important;color:var(--fk-text)!important;border:1px solid #c2c2c2!important}.secondary:hover,.ghost:hover{background:#f5f5f5!important}
.danger{background:#d32f2f!important;color:#fff!important}
a{color:var(--fk-blue)}h1,h2,h3{color:var(--fk-text)}
input,textarea,select{background:#fff!important;color:var(--fk-text)!important;border:1px solid #c2c2c2!important;border-radius:2px!important}
input:focus,textarea:focus,select:focus{outline:2px solid rgba(40,116,240,.25);border-color:var(--fk-blue)!important}
.search{max-width:none!important;grid-template-columns:minmax(0,1fr) 210px 110px!important;background:#fff;padding:0!important;border-radius:2px;box-shadow:var(--fk-shadow);overflow:hidden}
.search input,.search select{border:0!important;border-right:1px solid var(--fk-line)!important;border-radius:0!important;height:46px}
.search button{height:46px;border-radius:0!important;background:var(--fk-yellow)!important;color:#111!important}
.hero{padding:22px 0 18px}.hero h1{font-size:clamp(1.8rem,4vw,2.7rem);line-height:1.15}.hero p{color:var(--fk-muted)}
.products,.product-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px!important}
.product,.product-card{background:#fff!important;border:1px solid var(--fk-line)!important;border-radius:0!important;box-shadow:var(--fk-shadow)!important;padding:12px!important;transition:box-shadow .18s,transform .18s}
.product:hover,.product-card:hover{box-shadow:0 4px 14px rgba(0,0,0,.16)!important;transform:translateY(-1px)}
.product-image{width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff;border-radius:0;margin-bottom:8px}
.product h3{font-size:.95rem;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product p{color:var(--fk-muted)}
.available{color:var(--fk-green)}.soldout{color:#d32f2f}
.platform-store-bar{background:#fff!important;border-bottom:1px solid var(--fk-line)!important}.platform-store-link{color:var(--fk-text)!important}.platform-store-badge{background:var(--fk-blue)!important;color:#fff!important;border-radius:2px!important}
.platform-showcase{background:#fff!important;border:1px solid var(--fk-line)!important;box-shadow:var(--fk-shadow)!important;border-radius:0!important}
.platform-hot-icon{background:var(--fk-orange)!important;color:#fff!important;border-radius:50%!important;font-weight:900!important}
.platform-hot-label{color:var(--fk-orange)!important;font-weight:900!important}
.announcement-ticker,.ticker,.news-ticker{background:#fff!important;color:var(--fk-text)!important;border:1px solid var(--fk-line)!important;border-radius:0!important;box-shadow:var(--fk-shadow)!important}
.news-ticker-label{background:var(--fk-blue)!important;color:#fff!important}
.admin-shell,.dashboard-layout{grid-template-columns:230px minmax(0,1fr)!important;gap:12px}
.admin-side,.dashboard-side{background:#fff!important;border:1px solid var(--fk-line)!important;border-radius:0!important;box-shadow:var(--fk-shadow)!important;padding:6px!important}
.admin-side a,.dashboard-side a{color:var(--fk-text)!important;border-radius:0!important;border-left:3px solid transparent!important;font-weight:600}
.admin-side a:hover,.admin-side a.active,.dashboard-side a:hover,.dashboard-side a.active{background:#f5f7fa!important;color:var(--fk-blue)!important;border-left-color:var(--fk-blue)!important}
.side-menu-toggle{background:var(--fk-blue)!important;color:#fff!important;border-radius:2px!important}
.kpis{gap:10px}.kpi{border-radius:0!important}.kpi strong{color:var(--fk-text)}
table{background:#fff!important;border:1px solid var(--fk-line)!important;box-shadow:var(--fk-shadow)}th{background:#f5f5f5!important;color:var(--fk-text)!important}th,td{border-bottom:1px solid var(--fk-line)!important}
.subnav{border-bottom:1px solid var(--fk-line)}.subnav a{background:#fff!important;color:var(--fk-text)!important;border:1px solid var(--fk-line)!important;border-radius:2px!important}.subnav a.active{background:var(--fk-blue)!important;color:#fff!important;border-color:var(--fk-blue)!important}
.badge{border-radius:2px!important;background:#f1f3f6!important;color:var(--fk-text)!important}.badge.success{background:#e8f5e9!important;color:var(--fk-green)!important}
.flash{border-radius:2px;background:#e8f5e9}.flash.warning,.warning{background:#fff8e1}.flash.error{background:#ffebee}
.login-grid{gap:10px}.login-card{border-radius:0!important}.login-card h2{font-size:1.25rem}
.store-hero{background:#fff!important;border-radius:0!important}.store-hero-side{border:1px solid var(--fk-line)!important;border-radius:0!important;box-shadow:none!important}
@media(max-width:1100px){header nav a{font-size:.82rem;padding:9px 7px!important}.admin-shell,.dashboard-layout{grid-template-columns:1fr!important}.admin-side{position:static}.dashboard-menu-col{position:relative}.dashboard-side{position:static}}
@media(max-width:760px){
  header{position:sticky!important;top:0!important;display:flex!important;flex-wrap:wrap!important;padding:7px 8px!important}
  .mobile-menu-toggle{display:inline-flex!important;order:2;align-items:center;justify-content:center}
  .brand{order:1;flex:1;font-size:17px!important}.brand-icon{width:27px;height:27px}
  header nav{order:5!important;flex-basis:100%;width:100%;display:none!important;margin:0!important;padding:5px 0!important;overflow:visible!important;background:var(--fk-blue)!important}
  header nav.mobile-open{display:grid!important;grid-template-columns:1fr 1fr!important;gap:3px!important}
  header nav a{background:rgba(0,0,0,.08)!important;color:#fff!important;padding:11px 9px!important;border-radius:2px!important}
  header nav a:hover,header nav a.active{background:rgba(0,0,0,.22)!important;color:#fff!important}
  .nav-login-menu{position:relative!important;display:block!important;grid-column:1 / -1!important;width:100%!important}
  .nav-login-menu .nav-login-toggle{width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
  .nav-login-menu .nav-login-dropdown{position:static!important;right:auto!important;top:auto!important;width:100%!important;min-width:0!important;margin:4px 0 0!important;background:#232f3e!important;color:#fff!important;z-index:auto!important;display:none!important}
  .nav-login-menu.open .nav-login-dropdown{display:block!important}
  .nav-login-dropdown a{display:block!important;background:#232f3e!important;color:#fff!important}
  .google-translate-widget{order:4!important;margin-left:0!important}.notification-center{order:3!important}
  .wrap{padding:12px 8px 28px}.search{grid-template-columns:1fr!important}.search input,.search select,.search button{height:44px;border:0!important;border-bottom:1px solid var(--fk-line)!important}.search button{border-bottom:0!important}
  .products,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.product,.product-card{padding:8px!important}.product h3{font-size:.88rem}.product p{font-size:.82rem}
  .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-side{grid-template-columns:1fr!important}.store-hero{grid-template-columns:1fr!important}
}
@media(max-width:420px){.products,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.kpis{grid-template-columns:1fr 1fr}.brand span{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

/* Store Control full-workspace presentation */
.store-control-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.store-control-card{min-height:190px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}
.store-control-icon{font-size:34px;margin-bottom:8px}
.store-control-card .button{margin-top:auto}
.store-workspace{position:relative;min-height:calc(100vh - 120px);background:var(--fk-page,#f1f3f6);margin:0 -12px;padding:0 12px 40px;z-index:5}
.store-workspace-bar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#fff;border-bottom:1px solid var(--fk-line,#e0e0e0);box-shadow:0 2px 5px rgba(0,0,0,.08);margin-bottom:12px}
.store-workspace-panel{max-width:1440px;margin:0 auto}
body.store-workspace-active{overflow-x:hidden}
@media(max-width:800px){.store-control-cards{grid-template-columns:1fr}.store-workspace{margin:0 -8px;padding:0 8px 28px}.store-workspace-bar{align-items:flex-start;flex-direction:column}.store-workspace-bar .button{width:100%}}

/* Store Control: true full-page workspace + visible close control */
.store-control-hub[hidden]{display:none!important}
.store-workspace[hidden]{display:none!important}
.store-workspace{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;max-width:none!important;margin:0!important;padding:0 18px 40px!important;overflow:auto!important;background:var(--fk-page,#f1f3f6)!important;z-index:9999!important}
.store-workspace-bar{position:sticky!important;top:0!important;min-height:58px!important;padding:10px 16px!important;background:#fff!important;border-bottom:1px solid var(--fk-line,#e0e0e0)!important;box-shadow:0 2px 8px rgba(0,0,0,.10)!important}
.workspace-close{width:42px!important;height:42px!important;border:0!important;border-radius:50%!important;background:#2874f0!important;color:#fff!important;font-size:28px!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important}
.workspace-close:hover{background:#1d5fc5!important}
.store-workspace-panel{max-width:1440px!important;margin:16px auto 0!important}
body.store-workspace-active{overflow:hidden!important}
@media(max-width:800px){.store-workspace{padding:0 8px 28px!important}.store-workspace-bar{min-height:54px!important;padding:8px 10px!important}.workspace-close{width:40px!important;height:40px!important}.store-workspace-panel{margin-top:10px!important}}
/* v1.6.4 Store Dashboard header: Admin and Store are distinct workspaces. */
.store-dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:20px 22px}.store-dashboard-header h1{margin:3px 0 4px}.store-dashboard-header .header-actions{display:flex;gap:8px;flex-wrap:wrap}.store-dashboard-header .button{white-space:nowrap}@media(max-width:700px){.store-dashboard-header{align-items:flex-start;flex-direction:column}.store-dashboard-header .header-actions{width:100%}.store-dashboard-header .header-actions .button{flex:1;text-align:center}}

/* v1.6.4 Store Dashboard workspace header */
.store-dashboard-title{align-items:center}.store-dashboard-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.store-dashboard-actions .button{white-space:nowrap}@media(max-width:700px){.store-dashboard-title{align-items:flex-start!important}.store-dashboard-actions{width:100%}.store-dashboard-actions .button{flex:1;text-align:center}}

/* v2.7.6 DEEPFIX4: HOT-only store carousel, configurable speed, payment details and mobile layout. */
.news-ticker-track{animation-duration:var(--ticker-speed,28s)!important}
.store-page-slideshow .store-product-slider{margin:10px 0 18px}
.store-product-slider{display:flex;gap:10px;overflow:hidden;position:relative;scroll-snap-type:x mandatory}
.store-product-slide{flex:0 0 auto;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:170px;text-align:center}
.store-product-slide img,.store-product-slide .showcase-placeholder{width:150px;height:150px;object-fit:cover;border-radius:12px;border:1px solid var(--line);background:#fff}
.store-product-slide strong{font-size:.92rem}.store-product-slide span{font-weight:900;color:var(--accent)}
.payment-qr-box{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.payment-qr{display:block;width:220px;height:220px;max-width:100%;object-fit:contain}.bank-details{margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#f8fafc;line-height:1.8}.bank-details>strong{display:block;margin-bottom:5px}
@media(max-width:760px){
  .wrap,.wrap.wide{width:100%;max-width:100%;padding-left:10px;padding-right:10px}
  .card{padding:14px;margin:10px 0}
  .grid.two,.search,.store-toolbar,.store-hero,.store-detail-grid,.profile-head{grid-template-columns:1fr!important;display:grid}
  .store-toolbar{align-items:stretch}.store-search{min-width:0;width:100%;display:grid;grid-template-columns:1fr auto}
  .store-product-slider{width:100%;overflow:hidden}.store-product-slide{min-width:100%;width:100%;}
  .store-product-slide img,.store-product-slide .showcase-placeholder{width:min(78vw,300px);height:min(78vw,300px)}
  table{display:block;width:100%;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
  th,td{min-width:110px;padding:9px 8px}
  .kpis{grid-template-columns:1fr 1fr!important}
  .hero-actions,.action-row,.store-chips{width:100%}.hero-actions .button,.action-row .button{flex:1;text-align:center}
  input,textarea,select,button,.button{font-size:16px;min-height:44px}
  .payment-info{overflow:hidden}.payment-qr{width:min(260px,80vw);height:min(260px,80vw)}
  .manage-card-head,.store-admin-card>summary{flex-wrap:wrap}
  .platform-hot-products{overflow:hidden!important;width:100%}.platform-hot-product{min-width:100%!important;width:100%;justify-content:center}
  .platform-hot-product img,.platform-hot-product .showcase-placeholder{width:min(68vw,240px)!important;height:min(68vw,240px)!important}
  .platform-showcase{align-items:center}
}
@media(max-width:420px){.kpis{grid-template-columns:1fr!important}.brand span{max-width:calc(100vw - 110px)}}


/* DeepFix: home store identity, payment proof, reporting donuts and clickable accounting */
.home-store-brand{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0;padding:16px 20px}
.home-store-brand-main{display:flex;align-items:center;gap:14px;min-width:0}
.home-store-logo{width:68px;height:68px;border-radius:16px;object-fit:contain;background:var(--surface,#fff);border:1px solid var(--line,#e5e7eb);padding:6px;flex:0 0 auto}
.home-store-logo-placeholder{display:grid;place-items:center;font-size:30px}
.home-store-brand h2{margin:2px 0 3px}
.payment-proof-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:10px}
.payment-proof-help{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--accent) 7%,transparent);margin:4px 0 14px}
.payment-proof-help span{color:var(--muted)}
.payment-proof-preview{margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:12px;display:inline-flex;flex-direction:column;gap:8px}
.payment-proof-preview img{display:block;width:min(360px,100%);max-height:420px;object-fit:contain;border-radius:10px;background:#f8fafc}
.lookup-product-media{display:block;text-decoration:none}
.accounting-panel{margin-top:18px}
.accounting-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.accounting-card{display:flex;flex-direction:column;gap:6px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface,#fff);color:inherit;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.accounting-card:hover,.accounting-card:focus-visible{transform:translateY(-2px);box-shadow:0 10px 26px rgba(15,23,42,.09);border-color:var(--accent)}
.accounting-card strong{font-size:1.05rem}
.accounting-card span{font-size:.88rem;color:var(--muted)}
.donut-layout{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.donut-chart{width:190px;height:190px;border-radius:50%;display:grid;place-items:center;background:var(--donut-gradient);position:relative;flex:0 0 auto}
.donut-chart::after{content:"";position:absolute;inset:34px;border-radius:50%;background:var(--surface,#fff);box-shadow:inset 0 0 0 1px var(--line)}
.donut-chart>div{position:relative;z-index:1;text-align:center;display:flex;flex-direction:column}
.donut-chart strong{font-size:1.65rem}
.donut-chart span{font-size:.78rem;color:var(--muted)}
.donut-legend{list-style:none;margin:0;padding:0;display:grid;gap:10px;min-width:220px}
.donut-legend li{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:8px}
.donut-dot{width:9px;height:9px;border-radius:50%;background:var(--accent)}
.lookup-list{display:grid;gap:12px}
@media(max-width:760px){
 .home-store-brand{align-items:flex-start;flex-direction:column}
 .payment-proof-fields{grid-template-columns:1fr}
 .accounting-cards{grid-template-columns:1fr}
 .donut-layout{justify-content:center}
 .donut-legend{width:100%}
}

/* DeepFix5: direct product result target and clean guide numbering */
#product-results{scroll-margin-top:90px}.guide-step-no{display:none}

/* Store branding/payment source-of-truth UI */
.home-store-payment{display:flex;align-items:center;gap:12px;margin-left:auto;margin-right:8px;min-width:230px}.home-store-qr{width:72px;height:72px;object-fit:contain;border:1px solid var(--line);border-radius:10px;background:#fff;padding:4px}.home-store-payment p{margin:2px 0 0}.store-branding-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.store-branding-preview-grid>div{min-height:120px}.store-branding-preview-grid small{display:block;font-weight:800;margin-bottom:8px}.store-branding-preview .merchant-logo-lg,.store-branding-preview .payment-qr{display:block}.store-branding-preview .payment-qr{width:180px;height:180px}@media(max-width:760px){.home-store-payment{width:100%;margin:0;order:3}.home-store-brand{flex-wrap:wrap}.store-branding-preview-grid{grid-template-columns:1fr}}


/* v2.8.1: brand-inspired application style presets. These are visual presets, not official brand assets. */
.global-theme-flipkart{--ink:#172337;--muted:#667085;--line:#d8dee9;--accent:#2874f0;--accent-2:#ffcc00;--soft:#eef5ff;--bg:#f1f3f6;--card:#fff;--shadow:0 5px 18px rgba(40,116,240,.10)}
.global-theme-flipkart header{background:#2874f0;color:#fff}.global-theme-flipkart .brand,.global-theme-flipkart nav a{color:#fff}.global-theme-flipkart nav a:hover,.global-theme-flipkart nav a.active{background:#1d5dcc;color:#fff}.global-theme-flipkart button,.global-theme-flipkart .button{background:#2874f0;color:#fff;border-color:#2874f0}.global-theme-flipkart .secondary{background:#ffcc00;color:#172337;border-color:#ffcc00}
.global-theme-meesho{--ink:#26212b;--muted:#716b78;--line:#eadde8;--accent:#9f2089;--accent-2:#f43397;--soft:#fff0f8;--bg:#fff8fc;--card:#fff;--shadow:0 7px 20px rgba(159,32,137,.10)}
.global-theme-meesho header{background:#9f2089;color:#fff}.global-theme-meesho .brand,.global-theme-meesho nav a{color:#fff}.global-theme-meesho nav a:hover,.global-theme-meesho nav a.active{background:#7f176e;color:#fff}.global-theme-meesho button,.global-theme-meesho .button{background:#9f2089;color:#fff;border-color:#9f2089}.global-theme-meesho .secondary{background:#f43397;color:#fff;border-color:#f43397}
.global-theme-myntra{--ink:#28202d;--muted:#6b6470;--line:#eadfe7;--accent:#ff3f6c;--accent-2:#ff527b;--soft:#fff0f3;--bg:#f6f6f6;--card:#fff;--shadow:0 6px 18px rgba(255,63,108,.10)}
.global-theme-myntra header{background:#ff3f6c;color:#fff}.global-theme-myntra .brand,.global-theme-myntra nav a{color:#fff}.global-theme-myntra nav a:hover,.global-theme-myntra nav a.active{background:#e6325c;color:#fff}.global-theme-myntra button,.global-theme-myntra .button{background:#ff3f6c;color:#fff;border-color:#ff3f6c}.global-theme-myntra .secondary{background:#fff;color:#ff3f6c;border-color:#ff3f6c}
.global-theme-walmart{--ink:#182235;--muted:#667085;--line:#d9e2ef;--accent:#0071ce;--accent-2:#ffc220;--soft:#eef7ff;--bg:#f5f7fa;--card:#fff;--shadow:0 5px 18px rgba(0,113,206,.10)}
.global-theme-walmart header{background:#0071ce;color:#fff}.global-theme-walmart .brand,.global-theme-walmart nav a{color:#fff}.global-theme-walmart nav a:hover,.global-theme-walmart nav a.active{background:#005da9;color:#fff}.global-theme-walmart button,.global-theme-walmart .button{background:#0071ce;color:#fff;border-color:#0071ce}.global-theme-walmart .secondary{background:#ffc220;color:#182235;border-color:#ffc220}
.global-theme-target{--ink:#252525;--muted:#6b6b6b;--line:#dedede;--accent:#cc0000;--accent-2:#e31837;--soft:#fff1f1;--bg:#f7f7f7;--card:#fff;--shadow:0 5px 18px rgba(204,0,0,.09)}
.global-theme-target header{background:#cc0000;color:#fff}.global-theme-target .brand,.global-theme-target nav a{color:#fff}.global-theme-target nav a:hover,.global-theme-target nav a.active{background:#a90000;color:#fff}.global-theme-target button,.global-theme-target .button{background:#cc0000;color:#fff;border-color:#cc0000}.global-theme-target .secondary{background:#fff;color:#cc0000;border-color:#cc0000}
.product-card{cursor:pointer;position:relative}.product-card-hit{position:absolute;inset:0;z-index:0;border-radius:inherit}.product-card .product-info,.product-card .product-media{position:relative;z-index:1}.product-card .product-info a,.product-card .product-info button,.product-card .product-info input,.product-card .product-info select,.product-card .product-info textarea{position:relative;z-index:2}.view-product-button{display:inline-flex;margin-top:10px}
@media(max-width:1100px){
  .dashboard-side,.admin-side{display:none!important;position:absolute!important;}
  .dashboard-side.side-open,.admin-side.side-open{display:grid!important;}
}


/* v2.9.0: MASTER APPLICATION THEME SYSTEM
   The selected theme is intentionally comprehensive. It styles the whole UI
   (public pages, store, merchant, admin, forms, tables, cards and navigation)
   instead of changing only the header/buttons. Brand names are visual inspiration
   only; no official logos or proprietary assets are used. */
.global-theme-amazon,.global-theme-flipkart,.global-theme-meesho,.global-theme-myntra,.global-theme-walmart,.global-theme-target,.global-theme-ocean,.global-theme-royal,.global-theme-sunset,.global-theme-rose,.global-theme-graphite{--theme-bg:#f4f6f8;--theme-surface:#fff;--theme-surface-2:#f8fafc;--theme-text:#17202a;--theme-muted:#667085;--theme-line:#d9e0e7;--theme-primary:#2874f0;--theme-primary-dark:#1557c0;--theme-secondary:#ffc107;--theme-radius:12px;--theme-shadow:0 8px 24px rgba(15,23,42,.08);--theme-header:#172337;--theme-header-2:#22334d;--theme-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.global-theme-amazon{--theme-bg:#eaeded;--theme-primary:#ff9900;--theme-primary-dark:#e47911;--theme-secondary:#ffd814;--theme-header:#131921;--theme-header-2:#232f3e;--theme-radius:8px;--theme-shadow:0 3px 12px rgba(0,0,0,.12);--theme-font:Arial,Helvetica,sans-serif}
.global-theme-flipkart{--theme-bg:#f1f3f6;--theme-primary:#2874f0;--theme-primary-dark:#1b5fc7;--theme-secondary:#ffcc00;--theme-header:#2874f0;--theme-header-2:#1d5dcc;--theme-radius:4px;--theme-shadow:0 4px 16px rgba(40,116,240,.12)}
.global-theme-meesho{--theme-bg:#fff6fb;--theme-primary:#9f2089;--theme-primary-dark:#7d146d;--theme-secondary:#f43397;--theme-header:#9f2089;--theme-header-2:#7d146d;--theme-radius:14px;--theme-shadow:0 10px 28px rgba(159,32,137,.12)}
.global-theme-myntra{--theme-bg:#f7f7f7;--theme-primary:#ff3f6c;--theme-primary-dark:#dc3159;--theme-secondary:#ff527b;--theme-header:#ff3f6c;--theme-header-2:#d9345c;--theme-radius:10px;--theme-shadow:0 8px 22px rgba(255,63,108,.12)}
.global-theme-walmart{--theme-bg:#f5f8fc;--theme-primary:#0071ce;--theme-primary-dark:#005da9;--theme-secondary:#ffc220;--theme-header:#0071ce;--theme-header-2:#005da9;--theme-radius:8px;--theme-shadow:0 7px 20px rgba(0,113,206,.11)}
.global-theme-target{--theme-bg:#f7f7f7;--theme-primary:#cc0000;--theme-primary-dark:#a90000;--theme-secondary:#e31837;--theme-header:#cc0000;--theme-header-2:#a90000;--theme-radius:10px;--theme-shadow:0 8px 22px rgba(204,0,0,.10)}
.global-theme-ocean{--theme-bg:#eef8fb;--theme-primary:#087ea4;--theme-primary-dark:#075f7b;--theme-secondary:#20b7a6;--theme-header:#075f7b;--theme-header-2:#064b62;--theme-radius:14px;--theme-shadow:0 8px 24px rgba(7,95,123,.12)}
.global-theme-royal{--theme-bg:#f5f3fb;--theme-primary:#5b35d5;--theme-primary-dark:#4325aa;--theme-secondary:#8b5cf6;--theme-header:#38207d;--theme-header-2:#2b185f;--theme-radius:14px;--theme-shadow:0 8px 24px rgba(91,53,213,.13)}
.global-theme-sunset{--theme-bg:#fff7f1;--theme-primary:#ef5b25;--theme-primary-dark:#c74316;--theme-secondary:#ffb000;--theme-header:#7c2d12;--theme-header-2:#5b1f0d;--theme-radius:14px;--theme-shadow:0 8px 24px rgba(239,91,37,.13)}
.global-theme-rose{--theme-bg:#fff5f7;--theme-primary:#d6336c;--theme-primary-dark:#ae2456;--theme-secondary:#f06595;--theme-header:#8e2449;--theme-header-2:#681b36;--theme-radius:14px;--theme-shadow:0 8px 24px rgba(214,51,108,.12)}
.global-theme-graphite{--theme-bg:#eef1f4;--theme-primary:#344054;--theme-primary-dark:#1f2937;--theme-secondary:#667085;--theme-header:#111827;--theme-header-2:#1f2937;--theme-radius:8px;--theme-shadow:0 6px 18px rgba(17,24,39,.14)}

body[class*="global-theme-"]{background:var(--theme-bg)!important;color:var(--theme-text)!important;font-family:var(--theme-font)!important}
body[class*="global-theme-"] main{background:var(--theme-bg)!important;color:var(--theme-text)!important}
body[class*="global-theme-"] header{background:var(--theme-header)!important;color:#fff!important;border:0!important;box-shadow:0 2px 10px rgba(0,0,0,.12)!important}
body[class*="global-theme-"] footer{background:var(--theme-header-2)!important;color:#fff!important}
body[class*="global-theme-"] .brand,body[class*="global-theme-"] nav a,body[class*="global-theme-"] .mobile-menu-toggle{color:#fff!important}
body[class*="global-theme-"] nav a:hover,body[class*="global-theme-"] nav a.active{background:var(--theme-header-2)!important;color:#fff!important;border-color:rgba(255,255,255,.25)!important}
body[class*="global-theme-"] .card,body[class*="global-theme-"] .login-card,body[class*="global-theme-"] .kpi,body[class*="global-theme-"] .manage-card,body[class*="global-theme-"] .store-admin-card,body[class*="global-theme-"] .guide-step,body[class*="global-theme-"] .guide-benefit,body[class*="global-theme-"] .guide-hero,body[class*="global-theme-"] .guide-tip,body[class*="global-theme-"] .store-head,body[class*="global-theme-"] .store-hero,body[class*="global-theme-"] .platform-showcase,body[class*="global-theme-"] .profile-meta{background:var(--theme-surface)!important;color:var(--theme-text)!important;border:1px solid var(--theme-line)!important;border-radius:var(--theme-radius)!important;box-shadow:var(--theme-shadow)!important}
body[class*="global-theme-"] .product,body[class*="global-theme-"] .product-card{background:var(--theme-surface)!important;color:var(--theme-text)!important;border:1px solid var(--theme-line)!important;border-radius:var(--theme-radius)!important;box-shadow:var(--theme-shadow)!important}
body[class*="global-theme-"] .product:hover,body[class*="global-theme-"] .product-card:hover{transform:translateY(-3px)!important;box-shadow:0 14px 30px rgba(15,23,42,.14)!important}
body[class*="global-theme-"] h1,body[class*="global-theme-"] h2,body[class*="global-theme-"] h3,body[class*="global-theme-"] strong{color:var(--theme-text)!important}
body[class*="global-theme-"] .muted,body[class*="global-theme-"] small{color:var(--theme-muted)!important}
body[class*="global-theme-"] a{color:var(--theme-primary)!important}
body[class*="global-theme-"] button,body[class*="global-theme-"] .button{background:var(--theme-primary)!important;color:#fff!important;border:0!important;border-radius:var(--theme-radius)!important;box-shadow:none!important;font-weight:800!important}
body[class*="global-theme-"] button:hover,body[class*="global-theme-"] .button:hover{background:var(--theme-primary-dark)!important;transform:translateY(-1px)!important}
body[class*="global-theme-"] .secondary,body[class*="global-theme-"] .ghost{background:var(--theme-surface)!important;color:var(--theme-primary)!important;border:1px solid var(--theme-primary)!important}
body[class*="global-theme-"] .danger{background:#c62828!important;color:#fff!important}
body[class*="global-theme-"] input,body[class*="global-theme-"] textarea,body[class*="global-theme-"] select{background:var(--theme-surface)!important;color:var(--theme-text)!important;border:1px solid var(--theme-line)!important;border-radius:calc(var(--theme-radius) - 3px)!important}
body[class*="global-theme-"] input:focus,body[class*="global-theme-"] textarea:focus,body[class*="global-theme-"] select:focus{outline:3px solid color-mix(in srgb,var(--theme-primary) 22%,transparent)!important;border-color:var(--theme-primary)!important}
body[class*="global-theme-"] table{background:var(--theme-surface)!important;color:var(--theme-text)!important;border:1px solid var(--theme-line)!important;border-radius:var(--theme-radius)!important;overflow:hidden;box-shadow:var(--theme-shadow)!important}
body[class*="global-theme-"] th{background:var(--theme-surface-2)!important;color:var(--theme-text)!important}body[class*="global-theme-"] td,body[class*="global-theme-"] th{border-bottom:1px solid var(--theme-line)!important}
body[class*="global-theme-"] .admin-side,body[class*="global-theme-"] .dashboard-side{background:var(--theme-surface)!important;border:1px solid var(--theme-line)!important;border-radius:var(--theme-radius)!important;box-shadow:var(--theme-shadow)!important}
body[class*="global-theme-"] .admin-side a,body[class*="global-theme-"] .dashboard-side a{color:var(--theme-text)!important;border-radius:calc(var(--theme-radius) - 4px)!important}
body[class*="global-theme-"] .admin-side a:hover,body[class*="global-theme-"] .admin-side a.active,body[class*="global-theme-"] .dashboard-side a:hover,body[class*="global-theme-"] .dashboard-side a.active{background:var(--theme-bg)!important;color:var(--theme-primary)!important;border-left-color:var(--theme-primary)!important}
body[class*="global-theme-"] .side-menu-toggle{background:var(--theme-primary)!important;color:#fff!important;border-radius:var(--theme-radius)!important}
body[class*="global-theme-"] .badge{background:var(--theme-bg)!important;color:var(--theme-text)!important;border-radius:999px!important}body[class*="global-theme-"] .badge.success{background:#e8f5e9!important;color:#167c4b!important}
body[class*="global-theme-"] .subnav a{background:var(--theme-surface)!important;color:var(--theme-text)!important;border:1px solid var(--theme-line)!important;border-radius:999px!important}body[class*="global-theme-"] .subnav a.active{background:var(--theme-primary)!important;color:#fff!important;border-color:var(--theme-primary)!important}
body[class*="global-theme-"] .search{background:var(--theme-surface)!important;border:1px solid var(--theme-line)!important;border-radius:var(--theme-radius)!important;box-shadow:var(--theme-shadow)!important}
body[class*="global-theme-"] .search button{background:var(--theme-secondary)!important;color:#111!important}
body[class*="global-theme-"] .announcement-ticker,body[class*="global-theme-"] .ticker,body[class*="global-theme-"] .news-ticker{background:var(--theme-surface)!important;color:var(--theme-text)!important;border:1px solid var(--theme-line)!important;border-radius:var(--theme-radius)!important;box-shadow:var(--theme-shadow)!important}
body[class*="global-theme-"] .news-ticker-label{background:var(--theme-primary)!important;color:#fff!important}
body[class*="global-theme-"] .platform-store-bar{background:var(--theme-surface)!important;border-bottom:1px solid var(--theme-line)!important}
body[class*="global-theme-"] .platform-store-link{color:var(--theme-text)!important}
body[class*="global-theme-"] .platform-store-badge{background:var(--theme-primary)!important;color:#fff!important;border-radius:999px!important}
body[class*="global-theme-"] .store-toolbar{background:var(--theme-surface)!important;border-bottom:1px solid var(--theme-line)!important}
body[class*="global-theme-"] .store-hero-side{background:var(--theme-surface)!important;border:1px solid var(--theme-line)!important;border-radius:var(--theme-radius)!important}
body[class*="global-theme-"] .settings-brand-preview{display:block;width:110px;height:70px;object-fit:contain;margin-top:6px;padding:6px;border:1px solid var(--theme-line);border-radius:8px;background:#fff}
body[class*="global-theme-"] .settings-favicon-preview{display:block;width:44px;height:44px;object-fit:contain;margin-top:6px;padding:4px;border:1px solid var(--theme-line);border-radius:8px;background:#fff}
body[class*="global-theme-"] .brand-icon{object-fit:contain;background:rgba(255,255,255,.08);border-radius:8px;padding:2px}

/* ================================================================
   MASTER APP THEME ENGINE — full UI skin, not accent-only
   Every selected global theme remaps the legacy design tokens and
   then restyles the major components. This block is intentionally
   last so older CSS cannot flatten the selected theme back to teal.
   ================================================================ */
body[class*="global-theme-"]{
  --bg:var(--theme-bg)!important;
  --card:var(--theme-surface)!important;
  --ink:var(--theme-text)!important;
  --muted:var(--theme-muted)!important;
  --line:var(--theme-line)!important;
  --accent:var(--theme-primary)!important;
  --accent-2:var(--theme-secondary)!important;
  --soft:var(--theme-surface-2)!important;
  --shadow:var(--theme-shadow)!important;
  background:var(--theme-bg)!important;
  color:var(--theme-text)!important;
  font-family:var(--theme-font)!important;
}
body[class*="global-theme-"] header{
  background:linear-gradient(135deg,var(--theme-header),var(--theme-header-2))!important;
  color:#fff!important;border-bottom:0!important;box-shadow:0 5px 24px rgba(0,0,0,.16)!important;
}
body[class*="global-theme-"] .brand,
body[class*="global-theme-"] nav a{color:#fff!important}
body[class*="global-theme-"] nav a:hover,
body[class*="global-theme-"] nav a.active{background:rgba(255,255,255,.16)!important;color:#fff!important}
body[class*="global-theme-"] .mobile-menu-toggle{background:rgba(255,255,255,.14)!important;color:#fff!important;border:1px solid rgba(255,255,255,.25)!important}
body[class*="global-theme-"] button,
body[class*="global-theme-"] .button{background:var(--theme-primary)!important;color:#fff!important;border:1px solid var(--theme-primary)!important;border-radius:var(--theme-radius)!important;box-shadow:0 5px 14px color-mix(in srgb,var(--theme-primary) 22%,transparent)!important}
body[class*="global-theme-"] button:hover,
body[class*="global-theme-"] .button:hover{background:var(--theme-primary-dark)!important}
body[class*="global-theme-"] .secondary{background:var(--theme-secondary)!important;color:var(--theme-text)!important;border-color:var(--theme-secondary)!important}
body[class*="global-theme-"] .ghost{background:var(--theme-surface)!important;color:var(--theme-text)!important;border:1px solid var(--theme-line)!important}
body[class*="global-theme-"] .danger{background:#dc2626!important;color:#fff!important}
body[class*="global-theme-"] .card,
body[class*="global-theme-"] .login-card,
body[class*="global-theme-"] .manage-card,
body[class*="global-theme-"] .store-admin-card,
body[class*="global-theme-"] .kpi,
body[class*="global-theme-"] .product-card,
body[class*="global-theme-"] .product,
body[class*="global-theme-"] .store-hero-side,
body[class*="global-theme-"] .invoice,
body[class*="global-theme-"] .admin-side,
body[class*="global-theme-"] .dashboard-side{
  background:var(--theme-surface)!important;color:var(--theme-text)!important;
  border-color:var(--theme-line)!important;border-radius:var(--theme-radius)!important;box-shadow:var(--theme-shadow)!important;
}
body[class*="global-theme-"] input,
body[class*="global-theme-"] textarea,
body[class*="global-theme-"] select{
  background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important;border-radius:var(--theme-radius)!important;
}
body[class*="global-theme-"] input:focus,
body[class*="global-theme-"] textarea:focus,
body[class*="global-theme-"] select:focus{outline:3px solid color-mix(in srgb,var(--theme-primary) 22%,transparent)!important;border-color:var(--theme-primary)!important}
body[class*="global-theme-"] table{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important;border-radius:var(--theme-radius)!important;overflow:hidden}
body[class*="global-theme-"] th{background:var(--theme-surface-2)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
body[class*="global-theme-"] td{border-color:var(--theme-line)!important}
body[class*="global-theme-"] .subnav a,
body[class*="global-theme-"] .dashboard-side a,
body[class*="global-theme-"] .admin-side a{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
body[class*="global-theme-"] .subnav a.active,
body[class*="global-theme-"] .dashboard-side a.active,
body[class*="global-theme-"] .admin-side a.active,
body[class*="global-theme-"] .subnav a:hover,
body[class*="global-theme-"] .dashboard-side a:hover,
body[class*="global-theme-"] .admin-side a:hover{background:var(--theme-primary)!important;color:#fff!important;border-color:var(--theme-primary)!important}
body[class*="global-theme-"] .store-head,
body[class*="global-theme-"] .store-summary,
body[class*="global-theme-"] .profile-meta,
body[class*="global-theme-"] .store-chip{background:var(--theme-surface-2)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
body[class*="global-theme-"] .store-hero{background:linear-gradient(135deg,color-mix(in srgb,var(--theme-primary) 15%,var(--theme-surface)),var(--theme-surface))!important;border-color:color-mix(in srgb,var(--theme-primary) 28%,var(--theme-line))!important}
body[class*="global-theme-"] .flash{background:color-mix(in srgb,var(--theme-primary) 10%,var(--theme-surface))!important;border-left-color:var(--theme-primary)!important}
body[class*="global-theme-"] .badge{background:color-mix(in srgb,var(--theme-primary) 12%,var(--theme-surface))!important;color:var(--theme-primary-dark)!important}
body[class*="global-theme-"] footer{background:var(--theme-header)!important;color:rgba(255,255,255,.78)!important;border-top:0!important}
body[class*="global-theme-"] .eyebrow{color:var(--theme-primary)!important}
body[class*="global-theme-"] .product-card-hit{border-radius:var(--theme-radius)!important}
body[class*="global-theme-"] .product-card:hover{transform:translateY(-4px)!important;box-shadow:0 16px 34px color-mix(in srgb,var(--theme-primary) 16%,transparent)!important}
body[class*="global-theme-"] .section-title{color:var(--theme-text)!important}
body[class*="global-theme-"] .muted,
body[class*="global-theme-"] small{color:var(--theme-muted)!important}
body[class*="global-theme-"] .brand-icon{border-radius:calc(var(--theme-radius) - 2px)!important;background:rgba(255,255,255,.16)!important}
/* Strong visual identity per preset: background + typography + geometry + contrast. */
.global-theme-amazon{--theme-bg:#eaeded;--theme-surface:#fff;--theme-surface-2:#f7f8f8;--theme-text:#17202a;--theme-muted:#5f6b76;--theme-line:#d5d9d9;--theme-primary:#ff9900;--theme-primary-dark:#e47911;--theme-secondary:#ffd814;--theme-header:#131921;--theme-header-2:#232f3e;--theme-radius:8px;--theme-shadow:0 4px 14px rgba(0,0,0,.14);--theme-font:Arial,Helvetica,sans-serif}
.global-theme-flipkart{--theme-bg:#f1f3f6;--theme-surface:#fff;--theme-surface-2:#eef4ff;--theme-text:#172337;--theme-muted:#667085;--theme-line:#d7dfeb;--theme-primary:#2874f0;--theme-primary-dark:#1557c0;--theme-secondary:#ffcc00;--theme-header:#2874f0;--theme-header-2:#0b5bd3;--theme-radius:4px;--theme-shadow:0 5px 18px rgba(40,116,240,.16);--theme-font:Inter,Arial,sans-serif}
.global-theme-meesho{--theme-bg:#fff6fb;--theme-surface:#fff;--theme-surface-2:#fff0f8;--theme-text:#26212b;--theme-muted:#716b78;--theme-line:#ead7e6;--theme-primary:#9f2089;--theme-primary-dark:#75156a;--theme-secondary:#f43397;--theme-header:#9f2089;--theme-header-2:#c72aa8;--theme-radius:16px;--theme-shadow:0 10px 30px rgba(159,32,137,.15);--theme-font:Inter,ui-sans-serif,sans-serif}
.global-theme-myntra{--theme-bg:#f5f5f6;--theme-surface:#fff;--theme-surface-2:#fff0f3;--theme-text:#28202d;--theme-muted:#6b6470;--theme-line:#eadfe4;--theme-primary:#ff3f6c;--theme-primary-dark:#d92d57;--theme-secondary:#ff527b;--theme-header:#ff3f6c;--theme-header-2:#d62f59;--theme-radius:10px;--theme-shadow:0 8px 24px rgba(255,63,108,.15);--theme-font:Arial,Helvetica,sans-serif}
.global-theme-walmart{--theme-bg:#f4f7fb;--theme-surface:#fff;--theme-surface-2:#eef7ff;--theme-text:#182235;--theme-muted:#667085;--theme-line:#d6e0ed;--theme-primary:#0071ce;--theme-primary-dark:#005da9;--theme-secondary:#ffc220;--theme-header:#0071ce;--theme-header-2:#004f91;--theme-radius:10px;--theme-shadow:0 7px 22px rgba(0,113,206,.14);--theme-font:Inter,Arial,sans-serif}
.global-theme-target{--theme-bg:#f7f7f7;--theme-surface:#fff;--theme-surface-2:#fff1f1;--theme-text:#252525;--theme-muted:#6b6b6b;--theme-line:#dedede;--theme-primary:#cc0000;--theme-primary-dark:#a90000;--theme-secondary:#e31837;--theme-header:#cc0000;--theme-header-2:#990000;--theme-radius:12px;--theme-shadow:0 8px 24px rgba(204,0,0,.13);--theme-font:Arial,Helvetica,sans-serif}
.global-theme-ocean{--theme-bg:#eef8fb;--theme-surface:#fff;--theme-surface-2:#e8f7fa;--theme-text:#103444;--theme-muted:#54707d;--theme-line:#cde5eb;--theme-primary:#087ea4;--theme-primary-dark:#075f7b;--theme-secondary:#20b7a6;--theme-header:#075f7b;--theme-header-2:#0b94b7;--theme-radius:14px;--theme-shadow:0 9px 26px rgba(7,95,123,.14);--theme-font:Inter,sans-serif}
.global-theme-royal{--theme-bg:#f3f2ff;--theme-surface:#fff;--theme-surface-2:#eeebff;--theme-text:#27213d;--theme-muted:#69627d;--theme-line:#ddd8f2;--theme-primary:#5b21b6;--theme-primary-dark:#43168a;--theme-secondary:#8b5cf6;--theme-header:#3b0764;--theme-header-2:#6d28d9;--theme-radius:14px;--theme-shadow:0 10px 28px rgba(91,33,182,.15);--theme-font:Inter,sans-serif}
.global-theme-sunset{--theme-bg:#fff7ed;--theme-surface:#fff;--theme-surface-2:#fff0df;--theme-text:#3b2418;--theme-muted:#7c6355;--theme-line:#f0d8c1;--theme-primary:#ea580c;--theme-primary-dark:#c2410c;--theme-secondary:#f59e0b;--theme-header:#9a3412;--theme-header-2:#ea580c;--theme-radius:14px;--theme-shadow:0 10px 28px rgba(194,65,12,.14);--theme-font:Inter,sans-serif}
.global-theme-rose{--theme-bg:#fff1f5;--theme-surface:#fff;--theme-surface-2:#ffe8ef;--theme-text:#3b1725;--theme-muted:#765965;--theme-line:#f0d1dc;--theme-primary:#e11d48;--theme-primary-dark:#be123c;--theme-secondary:#fb7185;--theme-header:#881337;--theme-header-2:#e11d48;--theme-radius:15px;--theme-shadow:0 10px 28px rgba(225,29,72,.14);--theme-font:Inter,sans-serif}
.global-theme-graphite{--theme-bg:#edf0f3;--theme-surface:#fff;--theme-surface-2:#e5e9ee;--theme-text:#17202a;--theme-muted:#66717e;--theme-line:#d0d7df;--theme-primary:#334155;--theme-primary-dark:#1f2937;--theme-secondary:#64748b;--theme-header:#0f172a;--theme-header-2:#334155;--theme-radius:10px;--theme-shadow:0 8px 24px rgba(15,23,42,.15);--theme-font:Inter,sans-serif}

/* v2.9.2 MASTER THEME ENGINE: bridge legacy variables to the selected full theme. */
body[class*="global-theme-"]{
 --bg:var(--theme-bg)!important;--card:var(--theme-surface)!important;--ink:var(--theme-text)!important;
 --muted:var(--theme-muted)!important;--line:var(--theme-line)!important;--accent:var(--theme-primary)!important;
 --accent-2:var(--theme-secondary)!important;--soft:var(--theme-surface-2)!important;--shadow:var(--theme-shadow)!important;
 background:var(--theme-bg)!important;color:var(--theme-text)!important;font-family:var(--theme-font)!important;
}
body[class*="global-theme-"] header{background:linear-gradient(135deg,var(--theme-header),var(--theme-header-2))!important;color:#fff!important;border-color:transparent!important;box-shadow:0 4px 18px color-mix(in srgb,var(--theme-primary) 18%,transparent)!important}
body[class*="global-theme-"] .brand,body[class*="global-theme-"] nav a{color:#fff!important}
body[class*="global-theme-"] nav a:hover,body[class*="global-theme-"] nav a.active{background:color-mix(in srgb,#fff 16%,transparent)!important;color:#fff!important}
body[class*="global-theme-"] .card,body[class*="global-theme-"] .kpi,body[class*="global-theme-"] .login-card,body[class*="global-theme-"] .manage-card,body[class*="global-theme-"] .store-admin-card,body[class*="global-theme-"] .product,body[class*="global-theme-"] .invoice,body[class*="global-theme-"] table,body[class*="global-theme-"] .admin-side,body[class*="global-theme-"] .dashboard-side{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important;box-shadow:var(--theme-shadow)!important;border-radius:var(--theme-radius)!important}
body[class*="global-theme-"] th{background:var(--theme-surface-2)!important;color:var(--theme-text)!important}body[class*="global-theme-"] td,body[class*="global-theme-"] th{border-color:var(--theme-line)!important}
body[class*="global-theme-"] input,body[class*="global-theme-"] textarea,body[class*="global-theme-"] select{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important;border-radius:var(--theme-radius)!important}
body[class*="global-theme-"] input:focus,body[class*="global-theme-"] textarea:focus,body[class*="global-theme-"] select:focus{border-color:var(--theme-primary)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-primary) 18%,transparent)!important;outline:0!important}
body[class*="global-theme-"] button,body[class*="global-theme-"] .button{background:var(--theme-primary)!important;color:#fff!important;border-color:var(--theme-primary)!important;border-radius:var(--theme-radius)!important}
body[class*="global-theme-"] button:hover,body[class*="global-theme-"] .button:hover{background:var(--theme-primary-dark)!important}
body[class*="global-theme-"] .secondary{background:var(--theme-header-2)!important;color:#fff!important}body[class*="global-theme-"] .ghost{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
body[class*="global-theme-"] .subnav a,body[class*="global-theme-"] .dashboard-side a,body[class*="global-theme-"] .admin-side a{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:transparent!important}
body[class*="global-theme-"] .subnav a:hover,body[class*="global-theme-"] .subnav a.active,body[class*="global-theme-"] .dashboard-side a:hover,body[class*="global-theme-"] .dashboard-side a.active,body[class*="global-theme-"] .admin-side a:hover,body[class*="global-theme-"] .admin-side a.active{background:var(--theme-primary)!important;color:#fff!important}
body[class*="global-theme-"] .store-head,body[class*="global-theme-"] .store-summary,body[class*="global-theme-"] .profile-meta,body[class*="global-theme-"] .store-chip,body[class*="global-theme-"] .search-chip{background:var(--theme-surface-2)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
body[class*="global-theme-"] .store-hero{background:linear-gradient(135deg,color-mix(in srgb,var(--theme-primary) 18%,var(--theme-surface)),var(--theme-surface))!important;border-color:color-mix(in srgb,var(--theme-primary) 30%,var(--theme-line))!important}
body[class*="global-theme-"] .eyebrow,body[class*="global-theme-"] .product-price,body[class*="global-theme-"] .platform-hot-product span{color:var(--theme-primary)!important}body[class*="global-theme-"] .muted,body[class*="global-theme-"] small{color:var(--theme-muted)!important}
body[class*="global-theme-"] footer{background:var(--theme-header)!important;color:rgba(255,255,255,.82)!important;border:0!important}
body[class*="global-theme-"] .product-card{background:var(--theme-surface)!important;border-color:var(--theme-line)!important;box-shadow:var(--theme-shadow)!important;border-radius:var(--theme-radius)!important}
body[class*="global-theme-"] .product-card:hover{transform:translateY(-5px)!important;box-shadow:0 18px 38px color-mix(in srgb,var(--theme-primary) 20%,transparent)!important}
body[class*="global-theme-"] .platform-showcase{background:linear-gradient(90deg,color-mix(in srgb,var(--theme-primary) 13%,var(--theme-surface)),var(--theme-surface))!important;border-color:var(--theme-line)!important;border-radius:var(--theme-radius)!important}
body[class*="global-theme-"] .platform-hot-icon{background:var(--theme-primary)!important}body[class*="global-theme-"] .badge{background:color-mix(in srgb,var(--theme-primary) 12%,var(--theme-surface))!important;color:var(--theme-primary-dark)!important}

/* v2.9.2 MASTER THEME ENGINE: bridge legacy variables to the selected full theme. */
body[class*="global-theme-"]{--bg:var(--theme-bg)!important;--card:var(--theme-surface)!important;--ink:var(--theme-text)!important;--muted:var(--theme-muted)!important;--line:var(--theme-line)!important;--accent:var(--theme-primary)!important;--accent-2:var(--theme-secondary)!important;--soft:var(--theme-surface-2)!important;--shadow:var(--theme-shadow)!important;background:var(--theme-bg)!important;color:var(--theme-text)!important;font-family:var(--theme-font)!important}
body[class*="global-theme-"] header{background:linear-gradient(135deg,var(--theme-header),var(--theme-header-2))!important;color:#fff!important;border-color:transparent!important;box-shadow:0 4px 18px color-mix(in srgb,var(--theme-primary) 18%,transparent)!important}
body[class*="global-theme-"] .brand,body[class*="global-theme-"] nav a{color:#fff!important}body[class*="global-theme-"] nav a:hover,body[class*="global-theme-"] nav a.active{background:color-mix(in srgb,#fff 16%,transparent)!important;color:#fff!important}
body[class*="global-theme-"] .card,body[class*="global-theme-"] .kpi,body[class*="global-theme-"] .login-card,body[class*="global-theme-"] .manage-card,body[class*="global-theme-"] .store-admin-card,body[class*="global-theme-"] .product,body[class*="global-theme-"] .invoice,body[class*="global-theme-"] table,body[class*="global-theme-"] .admin-side,body[class*="global-theme-"] .dashboard-side{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important;box-shadow:var(--theme-shadow)!important;border-radius:var(--theme-radius)!important}
body[class*="global-theme-"] th{background:var(--theme-surface-2)!important;color:var(--theme-text)!important}body[class*="global-theme-"] td,body[class*="global-theme-"] th{border-color:var(--theme-line)!important}
body[class*="global-theme-"] input,body[class*="global-theme-"] textarea,body[class*="global-theme-"] select{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important;border-radius:var(--theme-radius)!important}
body[class*="global-theme-"] button,body[class*="global-theme-"] .button{background:var(--theme-primary)!important;color:#fff!important;border-color:var(--theme-primary)!important;border-radius:var(--theme-radius)!important}body[class*="global-theme-"] .secondary{background:var(--theme-header-2)!important;color:#fff!important}body[class*="global-theme-"] .ghost{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
body[class*="global-theme-"] .subnav a,body[class*="global-theme-"] .dashboard-side a,body[class*="global-theme-"] .admin-side a{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:transparent!important}body[class*="global-theme-"] .subnav a:hover,body[class*="global-theme-"] .subnav a.active,body[class*="global-theme-"] .dashboard-side a:hover,body[class*="global-theme-"] .dashboard-side a.active,body[class*="global-theme-"] .admin-side a:hover,body[class*="global-theme-"] .admin-side a.active{background:var(--theme-primary)!important;color:#fff!important}
body[class*="global-theme-"] .store-head,body[class*="global-theme-"] .store-summary,body[class*="global-theme-"] .profile-meta,body[class*="global-theme-"] .store-chip,body[class*="global-theme-"] .search-chip{background:var(--theme-surface-2)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}body[class*="global-theme-"] .store-hero{background:linear-gradient(135deg,color-mix(in srgb,var(--theme-primary) 18%,var(--theme-surface)),var(--theme-surface))!important;border-color:color-mix(in srgb,var(--theme-primary) 30%,var(--theme-line))!important}
body[class*="global-theme-"] .eyebrow,body[class*="global-theme-"] .product-price,body[class*="global-theme-"] .platform-hot-product span{color:var(--theme-primary)!important}body[class*="global-theme-"] .muted,body[class*="global-theme-"] small{color:var(--theme-muted)!important}body[class*="global-theme-"] footer{background:var(--theme-header)!important;color:rgba(255,255,255,.82)!important;border:0!important}
body[class*="global-theme-"] .product-card{background:var(--theme-surface)!important;border-color:var(--theme-line)!important;box-shadow:var(--theme-shadow)!important;border-radius:var(--theme-radius)!important}body[class*="global-theme-"] .product-card:hover{transform:translateY(-5px)!important;box-shadow:0 18px 38px color-mix(in srgb,var(--theme-primary) 20%,transparent)!important}
body[class*="global-theme-"] .platform-showcase{background:linear-gradient(90deg,color-mix(in srgb,var(--theme-primary) 13%,var(--theme-surface)),var(--theme-surface))!important;border-color:var(--theme-line)!important;border-radius:var(--theme-radius)!important}body[class*="global-theme-"] .platform-hot-icon{background:var(--theme-primary)!important}body[class*="global-theme-"] .badge{background:color-mix(in srgb,var(--theme-primary) 12%,var(--theme-surface))!important;color:var(--theme-primary-dark)!important}


/* v2.9.6: customer-facing Home architecture + responsive hardening. */
.home-section{margin:18px 0 24px}.home-section .section-title{margin-bottom:12px}.home-store-card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:20px;align-items:center}.home-store-brand-main{display:flex;align-items:center;gap:14px;min-width:0}.home-store-brand-main h3{margin:0 0 5px;font-size:1.25rem}.home-store-logo{width:76px;height:76px;border-radius:14px;object-fit:contain;background:#fff;border:1px solid var(--line);padding:6px;flex:0 0 auto}.home-store-logo-placeholder{display:grid;place-items:center;font-size:2rem}.home-store-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-store-meta>div{padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.home-store-meta span{display:block;font-size:.72rem;font-weight:800;color:var(--muted);margin-bottom:3px}.home-store-meta strong{display:block;overflow-wrap:anywhere}.home-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.home-info-card{display:flex;flex-direction:column;min-width:0;text-decoration:none;color:inherit;transition:transform .16s ease,box-shadow .16s ease}.home-info-card:hover{transform:translateY(-2px)}.home-info-card h3{margin:7px 0 5px}.home-info-card p{margin:0 0 10px;overflow-wrap:anywhere}.home-info-icon{font-size:1.45rem}.home-card-link{margin-top:auto;font-weight:900;color:var(--accent)}.home-product-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-link-card{display:flex;flex-direction:column;gap:5px;text-decoration:none;color:inherit}.home-link-card strong{font-size:1.05rem}.home-link-card span{color:var(--muted)}.marketplace-hero .hero-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.marketplace-search{align-self:center}.platform-showcase{max-width:1440px;margin-left:auto;margin-right:auto}.news-ticker{max-width:1440px;margin-left:auto;margin-right:auto}
@media(max-width:900px){.home-store-card{grid-template-columns:1fr}.home-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.home-section{margin:14px 0 20px}.home-section .section-title{display:flex;flex-direction:column;align-items:stretch;gap:8px}.home-section .section-title .button{width:100%;text-align:center}.home-store-card{padding:14px}.home-store-brand-main{align-items:flex-start}.home-store-logo{width:64px;height:64px}.home-store-meta{grid-template-columns:1fr}.home-info-grid,.home-product-actions{grid-template-columns:1fr}.home-info-card{padding:14px}.marketplace-hero{display:block}.marketplace-hero .hero-copy{margin-bottom:14px}.marketplace-hero .hero-actions{display:grid;grid-template-columns:1fr}.marketplace-search{width:100%}.platform-showcase{margin-left:0;margin-right:0;border-radius:10px}.news-ticker{margin-left:0;margin-right:0}.home-store-meta strong{font-size:.92rem}}
@media(max-width:480px){.home-store-brand-main{gap:10px}.home-store-logo{width:56px;height:56px}.home-store-brand-main h3{font-size:1.05rem}.home-info-card h3{font-size:1rem}.marketplace-hero h1{font-size:1.65rem}}
/* Keep every data table usable on narrow screens without forcing page-level overflow. */
.table-wrap,.tablewrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-wrap table,.tablewrap table{min-width:680px}
@media(max-width:760px){table{width:100%;max-width:100%;display:block;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}table thead,table tbody{width:max-content;min-width:100%}th,td{padding:8px 7px}.invoice{overflow-x:hidden}.invoice table{min-width:620px}.form-row,.actions,.hero-actions{max-width:100%;flex-wrap:wrap}.actions .button,.hero-actions .button{max-width:100%}input,select,textarea,button,.button{max-width:100%}textarea{resize:vertical}}


/* v2.9.6: final responsive hardening across public, customer and merchant screens. */
img,svg,video{max-width:100%;height:auto}.card,.manage-card,.store-admin-card,.kpi,.invoice,.store-hero,.guide-hero{min-width:0;overflow-wrap:anywhere}.section-title>div{min-width:0}.section-title h1,.section-title h2,.section-title h3{overflow-wrap:anywhere}.button,button{white-space:normal;text-align:center}.actions,.action-row,.hero-actions,.store-chips{max-width:100%}.platform-hot-empty{display:flex;align-items:center;min-height:62px;padding:0 12px;text-decoration:none;color:var(--accent);font-weight:800}.store-product-slider{max-width:100%}.store-product-slide{max-width:100%}.product-info,.lookup-product>div{min-width:0}.product-description,.product-store-mini{overflow-wrap:anywhere}.notification-panel{max-width:calc(100vw - 24px)}
@media(max-width:1100px){.admin-shell,.dashboard-layout,.merchant-page-shell{min-width:0}.admin-side,.dashboard-side{max-width:100%}.inline-search{width:100%}.inline-search input{min-width:0;flex:1 1 240px}.profile-head,.manage-card-head{flex-wrap:wrap}}
@media(max-width:760px){
  header{max-width:100%;overflow:visible}.brand{min-width:0}.brand span{overflow:hidden;text-overflow:ellipsis}
  .wrap,.wrap.wide,.merchant-content-wide{width:100%;max-width:100%;min-width:0}
  .card{padding:14px}.cards{grid-template-columns:1fr!important}.kpis{grid-template-columns:1fr!important}
  .section-title{align-items:stretch}.section-title>.button,.section-title>a.button{width:100%}
  .inline-search{display:grid;grid-template-columns:1fr;width:100%}.inline-search input{width:100%;min-width:0}.inline-search button{width:100%}
  .inline{max-width:100%;flex-wrap:wrap}.inline input,.inline select{max-width:100%;width:100%}
  .store-hero-side{width:100%}.store-detail-grid{grid-template-columns:1fr!important}.store-summary dl{grid-template-columns:1fr}
  .manage-card-head{align-items:flex-start}.manage-meta{gap:6px 12px}.profile-head{display:grid;grid-template-columns:1fr}
  .login-grid{grid-template-columns:1fr!important}.guide-hero{display:block}.guide-hero .button{margin-top:10px;width:100%}
  .lookup-product{grid-template-columns:1fr!important}.lookup-product-media{width:100%;max-width:220px}.lookup-product-image,.product-search-image{max-width:100%}
  .payment-proof-fields,.accounting-cards{grid-template-columns:1fr!important}.donut-layout{grid-template-columns:1fr!important}.donut-chart{margin:0 auto}
  .store-toolbar{display:grid!important;grid-template-columns:1fr!important}.store-search{width:100%;min-width:0}.store-search input,.store-search button{min-width:0}
  .product-card{min-width:0}.product-buy{flex-wrap:wrap}.product-order{width:100%}
  .platform-hot-empty{font-size:.86rem}.platform-hot-products{min-width:0}.platform-hot-product{max-width:100%}
}
@media(max-width:420px){body{font-size:15px}.wrap,.wrap.wide{padding-left:8px;padding-right:8px}.card{padding:12px}.platform-showcase{border-radius:8px}.home-store-meta>div{padding:9px}.home-info-card{padding:12px}.button,button{padding:9px 11px}}


/* v2.9.7: Home role-consistent layout, compact Store card, direct order media. */
.home-store-card.compact-store-card{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,1.7fr) auto;gap:12px;align-items:center;padding:12px 14px}
.home-store-main-link{display:flex;align-items:center;gap:10px;min-width:0;text-decoration:none;color:inherit}
.home-store-title{min-width:0;display:flex;flex-direction:column}.home-store-title small{font-size:.68rem;text-transform:uppercase;letter-spacing:.07em;font-weight:800;color:var(--accent)}.home-store-title strong{font-size:1.05rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compact-store-card .home-store-logo{width:58px;height:58px;border-radius:10px;padding:4px}.compact-store-card .home-store-meta{display:flex;flex-wrap:wrap;gap:7px;min-width:0}.home-store-chip{display:inline-block;padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:var(--soft);font-size:.76rem;line-height:1.25;overflow-wrap:anywhere}.home-store-chip b{margin-right:3px}.compact-store-card .home-store-open{white-space:nowrap}
.home-hot-showcase{margin-top:12px}.home-products-section{margin-top:16px}.product-order-media{display:flex;align-items:center;justify-content:center;text-decoration:none;color:inherit;cursor:pointer}.product-order-media:hover{filter:brightness(.98)}
@media(max-width:900px){.home-store-card.compact-store-card{grid-template-columns:minmax(0,1fr) auto}.compact-store-card .home-store-meta{grid-column:1/-1}.compact-store-card .home-store-open{grid-column:2;grid-row:1}}
@media(max-width:600px){.home-store-card.compact-store-card{grid-template-columns:1fr;align-items:stretch}.compact-store-card .home-store-meta{grid-column:auto}.compact-store-card .home-store-open{grid-column:auto;grid-row:auto;width:100%}.home-store-chip{flex:1 1 100%}.home-hot-showcase{margin-top:10px}}

/* v2.9.8 DEEPFIX: Home announcement click-to-open, compact store card, mobile HOT layout. */
.home-search{margin:10px 0 14px}
.home-announcement-card{display:block;min-width:0}
.home-announcement-card summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:8px}
.home-announcement-card summary::-webkit-details-marker{display:none}
.home-announcement-card summary h3{margin:0;min-width:0;overflow-wrap:anywhere}
.announcement-summary-hint{font-size:.78rem;font-weight:800;color:var(--accent);white-space:nowrap}
.announcement-body{padding-top:10px;border-top:1px solid var(--line);margin-top:10px}
.announcement-body p{margin:0 0 10px;overflow-wrap:anywhere}
.announcement-open-link{display:inline-block}
.compact-store-card .home-store-main-link{min-width:0}
.compact-store-card .home-store-title strong{overflow-wrap:anywhere}
@media(max-width:760px){
  .home-search{display:grid;grid-template-columns:1fr auto;width:100%;gap:8px}
  .home-announcement-card summary{grid-template-columns:auto auto 1fr;align-items:start}
  .announcement-summary-hint{grid-column:1/-1}
  .home-hot-showcase{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:10px!important}
  .home-hot-showcase .platform-hot-label{width:100%!important;min-width:0!important;display:flex!important;justify-content:center!important;order:1}
  .home-hot-showcase .platform-hot-icon{width:100%!important;height:42px!important;border-radius:10px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .home-hot-showcase .platform-hot-products{order:2;width:100%!important;min-width:0!important}
  .home-hot-showcase .platform-hot-product{min-width:100%!important;width:100%!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important}
  .home-hot-showcase .platform-hot-product img,.home-hot-showcase .platform-hot-product .showcase-placeholder{width:100%!important;height:min(72vw,320px)!important;max-width:none!important;object-fit:cover!important;border-radius:10px!important}
  .home-hot-showcase .platform-hot-product span{text-align:center;margin-top:5px}
}

.store-product-slide{text-decoration:none;color:inherit;cursor:pointer}.store-product-slide:hover{filter:brightness(.98)}
@media(max-width:600px){.home-hot-showcase .platform-hot-label{width:100%;display:block}.home-hot-showcase .platform-hot-products{width:100%}.home-hot-showcase .platform-hot-product img{width:100%;height:auto;min-height:180px;object-fit:cover}.home-hot-showcase{display:block}.home-hot-showcase .platform-hot-label{margin-bottom:8px}}
.customer-order-products{margin:18px 0}.customer-order-product{display:grid;grid-template-columns:88px 1fr auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.customer-order-product:last-child{border-bottom:0}.customer-order-product-image{width:88px;height:88px;object-fit:cover;border-radius:12px;border:1px solid var(--line);background:#fff}.customer-order-product-image.small{width:64px;height:64px;display:inline-block;vertical-align:middle;margin-right:10px}.customer-order-product-image.placeholder{display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--muted);padding:6px;text-align:center}.customer-order-fulfillment{margin:18px 0}.customer-order-total{display:flex;justify-content:space-between;align-items:center;margin:18px 0}.customer-order-total strong{font-size:1.35rem}.order-payment-info{margin:18px 0}@media(max-width:760px){.customer-order-product{grid-template-columns:76px 1fr;gap:10px}.customer-order-product>strong{grid-column:2}.customer-order-product-image{width:76px;height:76px}.customer-order-product-image.small{width:54px;height:54px}.customer-order-total{align-items:flex-start;gap:12px}}

.store-card-details{display:grid;gap:4px;margin-top:8px}.store-card-details small{display:block;color:var(--muted)}
.product-detail{display:grid;grid-template-columns:minmax(280px,480px) minmax(0,1fr);gap:30px;padding:24px;margin-top:12px}.product-detail-media{display:flex;align-items:flex-start;justify-content:center}.product-detail-image{width:100%;max-width:480px;aspect-ratio:1;object-fit:contain;border-radius:16px;background:#fff;border:1px solid var(--line)}.product-detail-image.placeholder{display:grid;place-items:center;color:var(--muted);font-size:1rem}.product-detail-copy h1{margin:.25rem 0 .75rem}.product-detail-copy>.product-price{display:block;font-size:1.8rem;font-weight:950;color:var(--accent);margin:.5rem 0 1rem}.product-detail-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0}.product-detail-meta span{padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:var(--soft)}.product-detail-meta b{display:block;font-size:.72rem;color:var(--muted);margin-bottom:2px}@media(max-width:760px){.product-detail{grid-template-columns:1fr;padding:16px;gap:18px}.product-detail-image{max-width:100%}.product-detail-meta{grid-template-columns:1fr}}

/* v2.10.4 senior deep-fix: mobile-first navigation and order UI */
html,body{max-width:100%;overflow-x:hidden}
header{position:static!important;top:auto!important;z-index:20!important}
.platform-store-bar,.store-workspace-bar,.global-merchant-side,.dashboard-menu-col,.admin-menu-col{position:static!important;top:auto!important}
.dashboard-side,.admin-side{position:static!important;top:auto!important}
.side-menu-toggle{position:relative!important;z-index:20!important}

.order-product-list{display:grid;gap:10px;margin-bottom:18px}
.order-product-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--soft)}
.order-product-image{width:96px;height:96px;object-fit:cover;border-radius:10px;background:#fff;border:1px solid var(--line)}
.order-product-image.placeholder{display:grid;place-items:center;color:var(--muted);font-size:.8rem}
.order-product-copy{min-width:0}.order-product-copy h3{margin:0 0 7px;overflow-wrap:anywhere}
.order-product-meta{display:flex;flex-wrap:wrap;gap:7px 12px;margin-bottom:10px;font-size:.85rem}.order-product-meta span{color:var(--muted)}
.order-product-copy label{max-width:180px}.order-product-copy input{width:100%}
.new-delivery-details{margin:12px 0}.new-delivery-details summary{display:inline-flex!important;width:auto!important;list-style:none;cursor:pointer}.new-delivery-details summary::-webkit-details-marker{display:none}.new-delivery-details[open] summary{margin-bottom:12px}

@media(max-width:760px){
  header{padding:8px!important}
  header nav{max-height:calc(100vh - 90px);overflow-y:auto;overflow-x:hidden}
  .wrap,.wrap.wide,.merchant-content-wide{padding-left:10px!important;padding-right:10px!important}
  .dashboard-layout,.admin-shell,.merchant-page-shell{display:block!important;min-width:0!important}
  .dashboard-menu-col,.admin-menu-col{width:100%;min-width:0;margin-bottom:10px}
  .dashboard-side,.admin-side{position:relative!important;width:100%!important;max-width:100%!important;max-height:none!important;overflow:visible!important}
  .dashboard-side.side-open,.admin-side.side-open{display:grid!important}
  .dashboard-side a,.admin-side a{white-space:normal;overflow-wrap:anywhere}
  .order-product-card{grid-template-columns:76px minmax(0,1fr);gap:10px;padding:10px}
  .order-product-image{width:76px;height:76px}
  .order-product-meta{gap:5px 8px;font-size:.78rem}
  .new-delivery-details summary{width:100%!important;justify-content:center}
  .new-delivery-details .grid.two{grid-template-columns:1fr!important}
  .product-detail,.lookup-product,.store-card,.home-store-card{min-width:0!important;max-width:100%!important}
  input,select,textarea,button,.button{max-width:100%;box-sizing:border-box}
  table{width:100%;max-width:100%;display:block;overflow-x:auto}
}
@media(max-width:420px){.order-product-card{grid-template-columns:64px minmax(0,1fr)}.order-product-image{width:64px;height:64px}.order-product-copy h3{font-size:.95rem}}

/* v2.10.5 SENIOR MOBILE HARDENING: no sticky site/menu layers and zero page overflow. */\nhtml{width:100%;max-width:100%;overflow-x:hidden!important}\nbody{width:100%;max-width:100%;overflow-x:hidden!important}\nheader{position:static!important;top:auto!important;bottom:auto!important;z-index:10!important;width:100%;max-width:100%;box-sizing:border-box}\nheader nav{position:static!important;top:auto!important;bottom:auto!important;max-width:100%;box-sizing:border-box}\n.mobile-menu-toggle{position:static!important;z-index:auto!important}\n.notification-center{position:relative!important;z-index:20!important;max-width:100%}\n.dashboard-side,.admin-side,.dashboard-menu-col,.admin-menu-col,.global-merchant-side,.platform-store-bar,.store-workspace-bar{position:static!important;top:auto!important;bottom:auto!important}\n.wrap,.wrap.wide,.merchant-page-shell,.dashboard-layout,.admin-shell,.store-workspace-panel{max-width:100%!important;min-width:0!important;box-sizing:border-box}\n*,*::before,*::after{box-sizing:border-box;max-width:100%}\nimg,video,svg,canvas{max-width:100%;height:auto}\ninput,select,textarea,button{max-width:100%;min-width:0;box-sizing:border-box}\ntable{max-width:100%;}\n@media(max-width:760px){\n  header{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;padding:8px!important}\n  header nav{display:none!important;flex:0 0 100%!important;width:100%!important;overflow:visible!important}\n  header nav.mobile-open{display:grid!important;grid-template-columns:1fr!important;width:100%!important}\n  header nav a,.nav-login-menu,.nav-login-toggle{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}\n  .google-translate-widget{max-width:100%!important;min-width:0!important}\n  .notification-center{margin-left:auto!important}\n  .notification-panel{position:fixed!important;left:8px!important;right:8px!important;top:58px!important;width:auto!important;max-width:none!important;max-height:calc(100vh - 70px)!important;overflow:auto!important}\n  .grid,.cards,.kpis,.product-grid,.products,.home-info-grid{min-width:0!important}\n  .grid.two,.cards,.kpis{grid-template-columns:1fr!important}\n  .product-grid,.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}\n  .order-product-card{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:10px!important;min-width:0!important}\n  .order-product-copy{min-width:0!important}\n  .order-product-copy label{display:block!important;max-width:100%!important}\n  .order-product-copy input{width:100%!important}\n  .customer-order-product{grid-template-columns:76px minmax(0,1fr)!important;min-width:0!important}\n  .customer-order-product>strong{grid-column:2!important}\n  .customer-order-product-image{width:76px!important;height:76px!important;max-width:76px!important}\n  .home-store-card.compact-store-card{grid-template-columns:1fr!important}\n  .compact-store-card .home-store-meta,.compact-store-card .home-store-open{grid-column:auto!important;grid-row:auto!important;width:100%!important}\n  .home-hot-showcase,.platform-showcase,.news-ticker,.card,.manage-card,.store-admin-card{width:100%!important;max-width:100%!important;min-width:0!important}\n  .store-workspace{position:static!important;width:100%!important;height:auto!important;max-width:100%!important;overflow:visible!important}\n  body.store-workspace-active{overflow-x:hidden!important;overflow-y:auto!important}\n}\n@media(max-width:420px){\n  .product-grid,.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}\n  .order-product-card{grid-template-columns:64px minmax(0,1fr)!important}\n  .order-product-image{width:64px!important;height:64px!important}\n  .customer-order-product-image{width:64px!important;height:64px!important}\n}\n
/* v2.10.5 CORRECTION: restore proper menu layering and readable theme contrast */
:root{
  --menu-bg:var(--nav-2,#232f3e);
  --menu-text:#fff;
  --menu-hover:#37475a;
}
header nav#site-nav,
header nav[data-mobile-menu]{
  background:var(--menu-bg)!important;
  color:var(--menu-text)!important;
  border:1px solid rgba(255,255,255,.22)!important;
}
header nav#site-nav a,
header nav[data-mobile-menu] a{
  color:var(--menu-text)!important;
  background:transparent!important;
}
header nav#site-nav a:hover,
header nav#site-nav a.active,
header nav[data-mobile-menu] a:hover,
header nav[data-mobile-menu] a.active{
  background:var(--menu-hover)!important;
  color:#fff!important;
}
.nav-login-dropdown{
  background:var(--menu-bg)!important;
  color:var(--menu-text)!important;
  border-color:rgba(255,255,255,.25)!important;
  z-index:100000!important;
}
.nav-login-dropdown a{color:var(--menu-text)!important;background:transparent!important}
.nav-login-dropdown a:hover,.nav-login-dropdown a:focus{background:var(--menu-hover)!important;color:#fff!important}
@media(max-width:760px){
  header{position:relative!important;z-index:10000!important;overflow:visible!important}
  header nav#site-nav,
  header nav[data-mobile-menu]{
    position:absolute!important;
    left:8px!important;right:8px!important;top:100%!important;
    width:auto!important;max-width:none!important;
    z-index:100000!important;
    background:var(--menu-bg)!important;
    box-shadow:0 14px 35px rgba(0,0,0,.35)!important;
  }
  header nav#site-nav.mobile-open,
  header nav[data-mobile-menu].mobile-open{display:grid!important}
  .nav-login-menu{position:relative!important;z-index:100001!important}
  .nav-login-dropdown{position:absolute!important;right:0!important;top:calc(100% + 6px)!important;z-index:100002!important}
}
/* v2.10.8 senior commerce UX hardening */
.product-card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.product-card-actions .inline{display:inline-flex;margin:0}.product-card-actions .button{flex:1 1 auto;min-width:0}.product-media,.lookup-product-media{display:block;cursor:pointer}.product-media img,.lookup-product-media img{width:100%;height:auto;object-fit:contain}.empty-cart{padding:28px;text-align:center}.order-summary{margin-top:12px}.customer-order-product label{display:block;margin-top:8px}.customer-order-product input{max-width:110px}.inline{display:inline}.customer-order-form .button{white-space:normal}
@media(max-width:800px){.product-grid,.products{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}.product-card{padding:6px!important}.product-card h3{font-size:.82rem;line-height:1.2}.product-card p{font-size:.72rem;line-height:1.25}.product-card .product-buy{display:block}.product-card .product-buy .button{width:100%;margin-top:4px}.product-card-actions{display:grid;grid-template-columns:1fr;gap:4px}.product-card-actions .button{width:100%;font-size:.72rem;padding:7px 4px}.product-price{font-size:.9rem!important}.product-media{min-height:70px}.product-media img{max-height:95px}.lookup-product{grid-template-columns:1fr!important}.lookup-product-media{width:100%}}
@media(max-width:420px){.product-grid,.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}.product-card{padding:4px!important}.product-card h3{font-size:.72rem}.product-card p{font-size:.65rem}.product-card-actions .button{font-size:.64rem;padding:6px 2px}}

/* Senior customer storefront mobile grid: keep product discovery dense without
   clipping content. Product cards may wrap internally; the grid itself stays 4-up. */
@media (max-width: 600px){
  .products.product-grid,.product-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:6px !important;}
  .product-card{min-width:0;}
  .product-info{padding:7px;}
  .product-card h3{font-size:.78rem;line-height:1.2;overflow-wrap:anywhere;}
  .product-description{font-size:.68rem;line-height:1.25;min-height:0;overflow:visible;white-space:normal;}
  .product-store-mini{font-size:.65rem;overflow-wrap:anywhere;}
  .product-price{font-size:.82rem;}
  .product-buy{display:block;}
  .product-buy .product-order{display:block;width:100%;margin-top:5px;box-sizing:border-box;}
  .product-card-actions{display:grid;grid-template-columns:1fr;gap:4px;}
  .product-card-actions .button{width:100%;box-sizing:border-box;font-size:.68rem;padding:6px 4px;}
}
@media (max-width:380px){
  .products.product-grid,.product-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
}

/* Customer storefront: 4-up mobile product discovery, no card clipping. */
@media(max-width:600px){.products.product-grid,.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}.product-card{min-width:0}.product-info{padding:6px}.product-card h3{font-size:.76rem;line-height:1.18;overflow-wrap:anywhere}.product-description{font-size:.66rem;line-height:1.22;min-height:0;overflow:visible;white-space:normal}.product-store-mini{font-size:.62rem;overflow-wrap:anywhere}.product-price{font-size:.8rem}.product-card-actions{display:grid;grid-template-columns:1fr;gap:3px}.product-card-actions .button{width:100%;box-sizing:border-box;font-size:.64rem;padding:5px 2px}.product-media{aspect-ratio:1/1}}

.cart-nav-count{display:inline-flex;min-width:20px;height:20px;padding:0 6px;align-items:center;justify-content:center;border-radius:999px;background:#e53935;color:#fff;font-size:11px;font-weight:800;margin-left:4px}.cart-quantity-control{display:flex;align-items:center;gap:6px;margin-top:8px}.cart-quantity-control input{width:72px;text-align:center}.cart-live-message{min-height:22px;margin:8px 0;font-weight:600}.cart-live-message.error{color:#b42318}.cart-live-message.success{color:#067647}.cart-item .cart-remove-button{margin-top:8px}.cart-line-values{min-width:145px}@media(max-width:760px){.cart-line-values{grid-column:2;min-width:0}.cart-quantity-control .button{padding:8px 12px}}

/* v2.10.23 customer marketplace presentation fixes: grid cards, responsive detail, order cards. */
.lookup-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.lookup-product{display:flex!important;flex-direction:column;min-width:0;height:100%;padding:12px}
.lookup-product-media{display:block;width:100%;aspect-ratio:1/1;overflow:hidden;border-radius:12px;background:var(--soft)}
.lookup-product-media .product-search-image{width:100%;height:100%;max-width:none;object-fit:cover}
.lookup-product>div{display:flex;flex-direction:column;flex:1;min-width:0}
.lookup-product h2{font-size:1rem;margin:10px 0 5px;overflow-wrap:anywhere}
.lookup-product>div>p{margin:5px 0;overflow-wrap:anywhere}.lookup-product .product-card-actions{margin-top:auto}
.product-detail{min-width:0}.product-detail-copy,.product-detail-media{min-width:0}.hero-actions{display:flex;flex-wrap:wrap;gap:8px}.hero-actions>*{max-width:100%}
.product-buy{display:flex;align-items:center;justify-content:space-between;gap:10px}.product-buy .product-order{flex:0 0 auto}
.my-orders-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.my-order-card{display:flex;flex-direction:column;min-width:0;padding:12px;height:100%}.my-order-media{display:block;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:var(--soft)}.my-order-image{width:100%;height:100%;object-fit:cover}.my-order-image.placeholder{display:grid;place-items:center;color:var(--muted);font-weight:800}.my-order-body{display:flex;flex-direction:column;flex:1;min-width:0}.my-order-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.my-order-head strong{overflow-wrap:anywhere}.my-order-body p{overflow-wrap:anywhere}.my-order-date{font-size:.82rem;color:var(--muted)}.my-order-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:10px}.my-order-footer .button{flex:0 0 auto}.cart-page-actions{align-items:stretch}.cart-page-actions .danger{background:#c62828;color:#fff;border-color:#c62828}
@media(max-width:1100px){.lookup-list,.my-orders-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.lookup-list,.my-orders-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:760px){.lookup-list,.my-orders-grid{grid-template-columns:1fr}.product-detail{grid-template-columns:1fr!important;padding:14px;gap:16px}.product-detail-image{width:100%;max-height:80vh;object-fit:contain}.hero-actions{display:grid;grid-template-columns:1fr}.hero-actions>*{width:100%!important}.product-buy{align-items:stretch;flex-direction:column}.product-buy .product-order{width:100%}.my-order-footer{align-items:stretch;flex-direction:column}.my-order-footer .button{width:100%}.cart-page-actions{display:grid;grid-template-columns:1fr}.cart-page-actions>*{width:100%}}

/* v2.10.27 targeted mobile storefront fix: keep the existing 4-column desktop
   layout, but never allow more than 2 product columns on phones. */
@media(max-width:760px){
  .products.product-grid,.product-grid,.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
}
@media(max-width:420px){
  .products.product-grid,.product-grid,.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;}
}

/* v2.10.30 targeted fixes: overview counters are integer-only and KPI cards are clickable. */
.kpi-link{display:block;text-decoration:none;color:inherit}.kpi-link:hover{text-decoration:none}

/* v2.10.31: App Home HOT = approved merchant-product promotion cards. */
.home-hot-showcase.platform-showcase{align-items:stretch;min-height:0;padding:12px;gap:14px}
.home-hot-showcase .platform-hot-label{width:58px;min-width:58px}
.home-hot-showcase .platform-hot-products{align-items:stretch;gap:12px}
.home-hot-showcase .platform-hot-merchant-card{display:grid;grid-template-columns:minmax(150px,34%) minmax(230px,1fr);min-width:460px;max-width:620px;min-height:190px;align-items:stretch;gap:14px;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff);box-shadow:0 2px 8px rgba(0,0,0,.08);scroll-snap-align:start}
.home-hot-showcase .platform-hot-product-media{display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;border-radius:10px;background:#f8fafc}
.home-hot-showcase .platform-hot-product-media img,.home-hot-showcase .platform-hot-product-media .showcase-placeholder{width:100%;height:168px;max-width:100%;object-fit:cover;border:0;border-radius:10px}
.home-hot-showcase .platform-hot-merchant-info{display:flex;min-width:0;flex-direction:column;justify-content:center;gap:8px;text-align:left}
.home-hot-showcase .platform-hot-merchant-head{display:flex;align-items:center;gap:9px;min-width:0}
.home-hot-showcase .platform-hot-merchant-head>div{display:flex;min-width:0;flex-direction:column}
.home-hot-showcase .platform-hot-merchant-head strong{font-size:1rem;line-height:1.25;overflow-wrap:anywhere}
.home-hot-showcase .platform-hot-merchant-head small{color:var(--muted);font-size:.78rem;overflow-wrap:anywhere}
.home-hot-showcase .platform-hot-merchant-logo{width:42px;height:42px;flex:0 0 42px;object-fit:contain;border:1px solid var(--line);border-radius:9px;background:#fff;padding:3px}
.home-hot-showcase .platform-hot-merchant-logo.placeholder{display:grid;place-items:center;font-size:22px}
.home-hot-showcase .platform-hot-product-name{font-weight:900;font-size:1.05rem;line-height:1.35;overflow-wrap:anywhere}
.home-hot-showcase .platform-hot-merchant-info>span{font-size:1.05rem;font-weight:950;color:var(--accent)}
@media(max-width:760px){
  .home-hot-showcase.platform-showcase{gap:8px;padding:9px 10px}
  .home-hot-showcase .platform-hot-merchant-card{grid-template-columns:42% minmax(0,1fr);min-width:100%;width:100%;max-width:none;min-height:150px;gap:9px;padding:8px}
  .home-hot-showcase .platform-hot-product-media img,.home-hot-showcase .platform-hot-product-media .showcase-placeholder{height:132px}
  .home-hot-showcase .platform-hot-merchant-logo{width:36px;height:36px;flex-basis:36px}
}
