/* Ka17aan Apps — Style v3.0 | Mobile-First | Dark Theme Default */

:root {
  --acc: #e8271a; --acc2: #ff6b1a;
  --acc-light: rgba(232,39,26,0.10); --acc-mid: rgba(232,39,26,0.20);
  --gold: #f59e0b;
  --bg: #0f0f13; --bg2: #17171f; --bg3: #1e1e28; --bg4: #252530;
  --text: #f0ede8; --text2: #b0adb8; --text3: #6b6878;
  --border: rgba(255,255,255,0.09); --border2: rgba(255,255,255,0.15);
  --shadow: rgba(0,0,0,0.4); --shadow2: rgba(0,0,0,0.6);
  --success: #22c55e; --success-bg: rgba(34,197,94,0.12);
  --warn: #f59e0b; --warn-bg: rgba(245,158,11,0.12);
  --info: #3b82f6; --info-bg: rgba(59,130,246,0.12);
  --red: #ef4444; --red-bg: rgba(239,68,68,0.12);
  --radius: 12px; --radius-sm: 8px; --radius-lg: 16px; --radius-xl: 24px;
  --font: 'Plus Jakarta Sans', sans-serif;
  --font-head: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

[data-theme="light"] {
  --bg: #f8f7f5; --bg2: #ffffff; --bg3: #f1efec; --bg4: #ebe9e5;
  --text: #1a1814; --text2: #4a4740; --text3: #8a8580;
  --border: #e4e1dc; --border2: #d4d1cc;
  --shadow: rgba(0,0,0,0.06); --shadow2: rgba(0,0,0,0.14);
  --success-bg: #f0fdf4; --warn-bg: #fffbeb;
  --info-bg: #eff6ff; --red-bg: #fef2f2;
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; max-width:100%; }
html { scroll-behavior:smooth; overflow-x:hidden !important; -webkit-text-size-adjust:100%; width:100%; max-width:100vw; }
body { font-family:var(--font); background:var(--bg); color:var(--text); min-height:100vh; overflow-x:hidden !important; line-height:1.5; -webkit-font-smoothing:antialiased; width:100%; max-width:100vw; position:relative; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; height:auto; display:block; }
button { font-family:var(--font); cursor:pointer; border:none; }
input,select,textarea { font-family:var(--font); }
::-webkit-scrollbar { width:4px; height:4px; }
::-webkit-scrollbar-track { background:var(--bg3); }
::-webkit-scrollbar-thumb { background:var(--border2); border-radius:4px; }

/* === ADMIN TOPBAR === */
.admin-topbar { background:var(--bg2); border-bottom:1px solid var(--border); overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; touch-action:pan-x; }
.admin-topbar::-webkit-scrollbar { display:none; }
.admin-topbar-inner { display:flex; align-items:center; gap:4px; height:40px; padding:0 12px; width:max-content; }
.admin-topbar-inner .admin-link, .admin-topbar-inner .admin-badge { flex:0 0 auto; }
.admin-hub-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:20px; }
.hub-card { position:relative; background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius-lg); padding:16px 10px; text-align:center; text-decoration:none; transition:transform .15s, border-color .15s; }
.hub-card:active { transform:scale(.96); border-color:var(--acc); }
.hub-icon { font-size:24px; margin-bottom:6px; }
.hub-label { font-size:12px; font-weight:700; color:var(--text); }
.hub-sub { font-size:10px; color:var(--text3); margin-top:2px; }
.hub-badge { position:absolute; top:6px; right:6px; background:var(--red); color:#fff; font-size:9px; font-weight:700; padding:2px 6px; border-radius:20px; }
@media (min-width:600px) { .admin-hub-grid { grid-template-columns:repeat(5,1fr); } }
.admin-badge { font-size:10px; font-weight:700; letter-spacing:1px; background:var(--acc-light); color:var(--acc); border:1px solid var(--acc-mid); padding:3px 10px; border-radius:100px; }
.admin-link { font-size:12px; font-weight:600; color:var(--text2); padding:5px 10px; border-radius:var(--radius-sm); transition:all .15s; white-space:nowrap; }
.admin-link:hover { background:var(--bg3); color:var(--text); }
.badge-count { background:var(--acc); color:white; font-size:10px; font-weight:700; padding:1px 6px; border-radius:100px; margin-left:3px; }

/* === HEADER === */
.main-header { background:var(--bg2); border-bottom:1px solid var(--border); position:sticky; top:0; z-index:200; }
.header-wrap { display:flex; align-items:center; gap:8px; height:56px; padding:0 12px; width:100%; overflow:hidden; }

.hamburger { width:36px; height:36px; flex-shrink:0; background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius-sm); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; cursor:pointer; transition:all .2s; }
.hamburger:hover { background:var(--acc-light); border-color:var(--acc); }
.hamburger span { display:block; width:16px; height:2px; background:var(--text); border-radius:2px; transition:all .25s; }
.hamburger.open span:nth-child(1) { transform:rotate(45deg) translate(4px,4px); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:rotate(-45deg) translate(4px,-4px); }

.logo-link { display:flex; align-items:center; gap:7px; flex-shrink:0; }
.logo-icon { width:32px; height:32px; flex-shrink:0; background:linear-gradient(135deg,var(--acc),var(--acc2)); border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:16px; }
.logo-text { font-family:var(--font-head); font-size:16px; font-weight:700; color:var(--text); white-space:nowrap; }
.logo-text span { color:var(--acc); }

.header-search { flex:1; min-width:0; position:relative; display:none; }
.header-search input { width:100%; background:var(--bg3); border:1px solid var(--border); border-radius:100px; padding:8px 14px 8px 36px; font-size:13px; color:var(--text); outline:none; transition:all .2s; }
.header-search input::placeholder { color:var(--text3); }
.header-search input:focus { border-color:var(--acc); box-shadow:0 0 0 3px var(--acc-light); }
.header-search .s-ico { position:absolute; left:12px; top:50%; transform:translateY(-50%); font-size:13px; color:var(--text3); pointer-events:none; }

.header-right { display:flex; align-items:center; gap:6px; margin-left:auto; flex-shrink:0; }
.icon-btn { width:36px; height:36px; border-radius:var(--radius-sm); background:var(--bg3); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:15px; position:relative; transition:all .2s; color:var(--text); text-decoration:none; }
.icon-btn:hover { background:var(--acc-light); border-color:var(--acc); }
.notif-dot { position:absolute; top:5px; right:5px; width:6px; height:6px; background:var(--acc); border-radius:50%; border:2px solid var(--bg2); }

.user-menu-wrap { position:relative; }
.user-btn { display:flex; align-items:center; gap:6px; background:var(--bg3); border:1px solid var(--border); border-radius:100px; padding:4px 10px 4px 4px; cursor:pointer; transition:all .2s; }
.user-btn:hover { border-color:var(--acc); }
.u-avatar { width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg,var(--acc),var(--acc2)); display:flex; align-items:center; justify-content:center; color:white; font-weight:700; font-size:11px; }
.u-name { font-size:12px; font-weight:600; color:var(--text); max-width:80px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
/* user-dropdown handled below */
.user-dropdown.show { display:block; }
.dd-link { display:flex; align-items:center; gap:8px; padding:10px 14px; font-size:13px; font-weight:500; color:var(--text2); transition:all .15s; }
.dd-link:hover { background:var(--bg3); color:var(--text); }
.dd-link.red:hover { color:var(--red); }
.dd-sep { height:1px; background:var(--border); margin:3px 0; }

.btn-outline-sm,.btn-sell-hdr { font-size:12px; font-weight:600; padding:7px 14px; border-radius:100px; cursor:pointer; transition:all .2s; white-space:nowrap; }
.btn-outline-sm { background:var(--bg3); border:1px solid var(--border); color:var(--text); }
.btn-outline-sm:hover { border-color:var(--acc); color:var(--acc); }
.btn-sell-hdr { background:linear-gradient(135deg,var(--acc),var(--acc2)); color:white; border:none; }

/* === SIDEBAR === */
.sidebar-overlay { position:fixed; inset:0; z-index:300; background:rgba(0,0,0,0.6); opacity:0; pointer-events:none; transition:opacity .3s; }
.sidebar-overlay.open { opacity:1; pointer-events:all; }
.sidebar { position:fixed; top:0; left:-290px; bottom:0; z-index:400; width:280px; max-width:85vw; background:var(--bg2); border-right:1px solid var(--border); display:flex; flex-direction:column; transition:left .3s cubic-bezier(.4,0,.2,1); overflow-y:auto; overflow-x:hidden; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; }
.sidebar.open { left:0; }
.sb-head { padding:14px 14px 12px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; flex-shrink:0; }
.sb-logo { font-family:var(--font-head); font-size:16px; font-weight:700; }
.sb-logo span { color:var(--acc); }
.sb-close { width:30px; height:30px; border-radius:8px; background:var(--bg3); border:none; cursor:pointer; font-size:15px; color:var(--text2); display:flex; align-items:center; justify-content:center; transition:all .2s; }
.sb-close:hover { background:var(--acc-light); color:var(--acc); }
.sb-user { padding:12px 14px; display:flex; align-items:center; gap:10px; background:var(--bg3); border-bottom:1px solid var(--border); flex-shrink:0; }
.sb-avatar { width:38px; height:38px; border-radius:50%; flex-shrink:0; background:linear-gradient(135deg,var(--acc),var(--acc2)); display:flex; align-items:center; justify-content:center; color:white; font-weight:700; font-size:14px; }
.sb-uname { font-size:13px; font-weight:700; }
.sb-urole { font-size:11px; color:var(--acc); font-weight:600; }
.sb-nav { padding:8px 8px; flex:1; }
.sb-link { display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:var(--radius-sm); font-size:13px; font-weight:500; color:var(--text2); cursor:pointer; transition:all .15s; border:none; background:none; width:100%; text-align:left; text-decoration:none; }
.sb-link:hover { background:var(--bg3); color:var(--text); }
.sb-link.active { background:var(--acc-light); color:var(--acc); font-weight:600; }
.sb-link.highlight { color:var(--acc); font-weight:700; }
.sb-count { margin-left:auto; font-size:10px; font-weight:700; background:var(--bg4); color:var(--text3); padding:1px 7px; border-radius:100px; }
.sb-sep-label { font-size:10px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--text3); padding:10px 10px 3px; margin-top:4px; }

/* Sidebar theme - admin only (hidden by default, shown via PHP) */
.sb-theme-picker { padding:10px 14px; border-top:1px solid var(--border); flex-shrink:0; }
.sb-theme-label { font-size:10px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--text3); margin-bottom:8px; }
.sb-swatches { display:flex; gap:8px; }
.swatch { width:28px; height:28px; border-radius:50%; cursor:pointer; border:3px solid transparent; transition:all .2s; flex-shrink:0; }
.swatch.active { border-color:var(--text); transform:scale(1.15); }

.sb-seller-cta { margin:8px 10px 12px; background:var(--acc-light); border:1px solid var(--acc-mid); border-radius:var(--radius); padding:12px; flex-shrink:0; }
.sb-cta-title { font-size:12px; font-weight:700; color:var(--acc); margin-bottom:3px; }
.sb-cta-desc { font-size:11px; color:var(--text2); line-height:1.5; margin-bottom:10px; }
.sb-cta-btn { display:block; width:100%; padding:8px; background:linear-gradient(135deg,var(--acc),var(--acc2)); color:white; border:none; border-radius:var(--radius-sm); font-size:12px; font-weight:700; cursor:pointer; text-align:center; }

/* === HERO === */
.hero-section { background:var(--bg2); border-bottom:1px solid var(--border); padding:36px 16px 32px; text-align:center; position:relative; overflow:hidden; width:100%; }
.hero-blob { position:absolute; top:-60px; left:50%; transform:translateX(-50%); width:min(700px,150vw); height:300px; background:radial-gradient(ellipse,var(--acc-light) 0%,transparent 65%); pointer-events:none; }
.hero-inner { position:relative; z-index:1; width:100%; max-width:600px; margin:0 auto; }
.hero-badge { display:inline-flex; align-items:center; gap:5px; background:var(--acc-light); border:1px solid var(--acc-mid); color:var(--acc); font-size:11px; font-weight:700; padding:4px 12px; border-radius:100px; margin-bottom:14px; }
.hero-h1 { font-family:var(--font-head); font-size:clamp(24px,7vw,48px); font-weight:700; line-height:1.15; margin-bottom:10px; word-break:break-word; overflow-wrap:break-word; }
.hero-h1 em { color:var(--acc); font-style:normal; }
.hero-sub { font-size:clamp(12px,3.5vw,14px); color:var(--text2); line-height:1.65; margin-bottom:22px; padding:0 4px; }
.hero-search { display:flex; align-items:center; gap:8px; background:var(--bg3); border:1.5px solid var(--border); border-radius:100px; padding:5px 5px 5px 14px; max-width:100%; margin:0 auto 24px; transition:border-color .2s; }
.hero-search:focus-within { border-color:var(--acc); box-shadow:0 0 0 3px var(--acc-light); }
.hero-search span { font-size:13px; flex-shrink:0; color:var(--text3); }
.hero-search input { flex:1; min-width:0; border:none; outline:none; font-size:13px; background:transparent; color:var(--text); }
.hero-search input::placeholder { color:var(--text3); }
.hero-search button { background:linear-gradient(135deg,var(--acc),var(--acc2)); color:white; border:none; border-radius:100px; padding:8px 16px; font-size:12px; font-weight:700; cursor:pointer; flex-shrink:0; white-space:nowrap; }
.hero-stats { display:grid; grid-template-columns:repeat(4,1fr); background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius-xl); overflow:hidden; max-width:100%; }
.h-stat { padding:12px 6px; text-align:center; border-right:1px solid var(--border); }
.h-stat:last-child { border-right:none; }
.h-stat-num { font-family:var(--font-head); font-size:16px; font-weight:700; color:var(--acc); }
.h-stat-lbl { font-size:8px; text-transform:uppercase; letter-spacing:.6px; color:var(--text3); margin-top:2px; font-weight:600; }

/* === FILTER BAR === */
.filter-bar { background:var(--bg2); border-bottom:1px solid var(--border); position:sticky; top:56px; z-index:100; width:100%; overflow-x:auto; scrollbar-width:none; }
.filter-bar::-webkit-scrollbar { display:none; }
.filter-inner { display:flex; align-items:center; gap:6px; padding:8px 12px; width:max-content; min-width:100%; }
.chip { display:inline-flex; align-items:center; gap:5px; padding:6px 12px; border-radius:100px; font-size:12px; font-weight:600; cursor:pointer; white-space:nowrap; transition:all .15s; border:1px solid var(--border); background:var(--bg3); color:var(--text2); text-decoration:none; flex-shrink:0; }
.chip:hover { border-color:var(--acc); color:var(--acc); }
.chip.active { background:var(--acc); color:white; border-color:var(--acc); }
.chip span { font-size:10px; font-weight:700; background:rgba(255,255,255,.22); padding:1px 5px; border-radius:100px; }
.chip:not(.active) span { background:var(--bg4); color:var(--text3); }

/* === SECTIONS === */
.section-wrap { width:100%; padding:20px 12px; box-sizing:border-box; overflow:hidden; }
.section-hdr { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:14px; flex-wrap:wrap; gap:8px; }
.section-label { font-size:10px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--acc); margin-bottom:3px; }
.section-title { font-family:var(--font-head); font-size:clamp(18px,5vw,26px); font-weight:700; line-height:1.1; }
.section-title em { color:var(--acc); font-style:normal; }
.count-badge { font-size:12px; color:var(--text3); font-weight:400; background:var(--bg3); border:1px solid var(--border); padding:2px 9px; border-radius:100px; margin-left:6px; }
.sort-sel { font-family:var(--font); font-size:12px; font-weight:500; background:var(--bg2); border:1px solid var(--border); color:var(--text); padding:7px 24px 7px 10px; border-radius:var(--radius-sm); cursor:pointer; outline:none; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%238a8580' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 8px center; }
.full-divider { height:1px; background:var(--border); }

/* === PRODUCT GRID === */
.products-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; width:100%; }
.product-card { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; transition:all .22s; min-width:0; }
.product-card:hover { border-color:var(--acc); transform:translateY(-2px); box-shadow:0 6px 24px var(--shadow2); }
.card-link { display:block; color:inherit; text-decoration:none; }
.card-thumb { width:100%; aspect-ratio:16/10; position:relative; overflow:hidden; background:var(--bg3); }
.card-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.product-card:hover .card-thumb img { transform:scale(1.04); }
.thumb-placeholder { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; }
.thumb-emoji { font-size:30px; }
.thumb-cat { font-size:10px; font-weight:600; color:var(--text3); }
.card-badges { position:absolute; top:6px; left:6px; display:flex; flex-direction:column; gap:4px; }
.badge { font-size:9px; font-weight:700; padding:2px 7px; border-radius:100px; display:inline-flex; align-items:center; gap:3px; white-space:nowrap; }
.badge-verified { background:rgba(34,197,94,.88); color:white; }
.badge-hot { background:rgba(239,68,68,.88); color:white; }
.badge-free { background:rgba(59,130,246,.88); color:white; }
.badge-new { background:rgba(245,158,11,.88); color:white; }
.card-share-btn { position:absolute; top:6px; right:6px; width:28px; height:28px; border-radius:50%; background:rgba(0,0,0,.55); border:none; display:flex; align-items:center; justify-content:center; font-size:12px; cursor:pointer; transition:all .2s; color:white; }
.card-share-btn:hover { background:var(--acc); }
.card-body { padding:10px; }
.card-type { font-size:9px; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--acc); margin-bottom:4px; }
.card-title { font-family:var(--font-head); font-size:13px; font-weight:700; color:var(--text); margin-bottom:4px; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.card-desc { font-size:11px; color:var(--text3); line-height:1.5; margin-bottom:8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.card-rating { display:flex; align-items:center; gap:3px; margin-bottom:8px; }
.stars { color:var(--gold); font-size:11px; letter-spacing:-1px; }
.rcount { font-size:10px; color:var(--text3); }
.card-footer { display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--border); padding-top:8px; }
.orig-price { font-size:10px; color:var(--text3); text-decoration:line-through; }
.main-price { font-family:var(--font-head); font-size:16px; font-weight:700; color:var(--text); }
.main-price.free { color:var(--success); font-size:13px; }
.btn-buy-card { font-size:11px; font-weight:700; background:linear-gradient(135deg,var(--acc),var(--acc2)); color:white; border:none; padding:6px 12px; border-radius:var(--radius-sm); cursor:pointer; white-space:nowrap; }
.btn-owned-card { font-size:11px; font-weight:700; background:var(--success-bg); color:var(--success); border:1px solid rgba(34,197,94,.3); padding:6px 12px; border-radius:var(--radius-sm); white-space:nowrap; display:inline-flex; align-items:center; gap:4px; }

/* === BUTTONS === */
.btn-primary { display:inline-flex; align-items:center; gap:5px; font-size:13px; font-weight:700; background:linear-gradient(135deg,var(--acc),var(--acc2)); color:white; border:none; padding:10px 20px; border-radius:var(--radius); cursor:pointer; transition:all .2s; text-decoration:none; white-space:nowrap; }
.btn-primary:hover { transform:translateY(-1px); opacity:.92; }
.btn-outline { display:inline-flex; align-items:center; gap:5px; font-size:13px; font-weight:600; background:transparent; border:1.5px solid var(--border); color:var(--text); padding:9px 18px; border-radius:var(--radius); cursor:pointer; transition:all .2s; text-decoration:none; }
.btn-outline:hover { border-color:var(--acc); color:var(--acc); }
.full-btn { width:100%; display:block; text-align:center; }
.btn-sm { font-size:10px; font-weight:700; padding:4px 9px; border-radius:6px; border:1px solid transparent; cursor:pointer; transition:all .15s; white-space:nowrap; }
.btn-sm.green { background:var(--success-bg); color:var(--success); border-color:rgba(34,197,94,.2); }
.btn-sm.green:hover { background:var(--success); color:white; }
.btn-sm.red { background:var(--red-bg); color:var(--red); border-color:rgba(239,68,68,.2); }
.btn-sm.red:hover { background:var(--red); color:white; }
.btn-sm.blue { background:var(--info-bg); color:var(--info); border-color:rgba(59,130,246,.2); }
.btn-sm.blue:hover { background:var(--info); color:white; }
.btn-sm.orange { background:var(--warn-bg); color:var(--warn); border-color:rgba(245,158,11,.2); }
.btn-sm.orange:hover { background:var(--warn); color:white; }

/* === ALERTS === */
.alert-success { background:var(--success-bg); border:1px solid rgba(34,197,94,.25); color:var(--success); padding:10px 14px; border-radius:var(--radius); margin-bottom:14px; font-size:13px; font-weight:500; }
.alert-error { background:var(--red-bg); border:1px solid rgba(239,68,68,.25); color:var(--red); padding:10px 14px; border-radius:var(--radius); margin-bottom:14px; font-size:13px; font-weight:500; }

/* === FORMS === */
.form-inp,.form-ta,.form-sel { width:100%; padding:10px 12px; background:var(--bg3); border:1.5px solid var(--border); border-radius:var(--radius-sm); font-size:13px; font-family:var(--font); color:var(--text); outline:none; transition:all .2s; }
.form-inp:focus,.form-ta:focus,.form-sel:focus { border-color:var(--acc); background:var(--bg2); box-shadow:0 0 0 3px var(--acc-light); }
.form-ta { resize:vertical; min-height:80px; }
.form-grp,.sform-grp { margin-bottom:13px; }
.form-lbl,.form-grp label,.sform-grp label { display:block; font-size:11px; font-weight:700; color:var(--text2); text-transform:uppercase; letter-spacing:.7px; margin-bottom:5px; }
.sform-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.inp-help { font-size:11px; color:var(--text3); margin-top:4px; }
.grad-preview-swatch { width:50px; height:40px; border-radius:6px; border:1px solid var(--border); }
.price-grp { position:relative; }
.price-grp span { position:absolute; left:11px; top:50%; transform:translateY(-50%); font-size:14px; font-weight:700; color:var(--text3); }
.price-grp .form-inp { padding-left:24px; }
.upload-zone { border:2px dashed var(--border); border-radius:var(--radius); padding:20px 16px; text-align:center; cursor:pointer; transition:all .2s; background:var(--bg3); }
.upload-zone:hover { border-color:var(--acc); background:var(--acc-light); }
.uz-icon { font-size:24px; display:block; margin-bottom:6px; }
.uz-text { font-size:12px; font-weight:600; color:var(--text2); margin-bottom:3px; }
.uz-sub { font-size:10px; color:var(--text3); }
.screenshot-previews { display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
.ss-preview { position:relative; width:72px; height:50px; border-radius:6px; overflow:hidden; }
.ss-preview img { width:100%; height:100%; object-fit:cover; }
.ss-preview button { position:absolute; top:2px; right:2px; width:16px; height:16px; border-radius:50%; background:rgba(0,0,0,.7); color:white; font-size:9px; cursor:pointer; display:flex; align-items:center; justify-content:center; }

/* === PRODUCT DETAIL === */
.product-detail-wrap { width:100%; padding:12px; overflow:hidden; }
.pd-container { width:100%; max-width:1100px; margin:0 auto; }
.breadcrumb { font-size:11px; color:var(--text3); margin-bottom:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.breadcrumb a { color:var(--text2); }
.breadcrumb a:hover { color:var(--acc); }
.pd-grid { display:flex; flex-direction:column; gap:16px; }
.pd-left,.pd-right { min-width:0; }
.pd-section { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius); padding:14px; margin-bottom:10px; }
.pd-sec-title { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--text3); margin-bottom:10px; padding-bottom:8px; border-bottom:1px solid var(--border); }
.pd-desc { font-size:13px; color:var(--text2); line-height:1.75; }
.features-list { list-style:none; display:flex; flex-direction:column; gap:5px; }
.features-list li { display:flex; align-items:center; gap:7px; font-size:12px; color:var(--text2); }
.feat-check { color:var(--success); font-size:12px; flex-shrink:0; }
.gallery-box { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; margin-bottom:10px; }
.gallery-main { width:100%; aspect-ratio:16/9; background:var(--bg3); display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; }
.gallery-main img { width:100%; height:100%; object-fit:cover; }
.gallery-placeholder { font-size:52px; }
.gallery-thumbs { display:flex; gap:6px; padding:8px 10px; overflow-x:auto; scrollbar-width:none; border-top:1px solid var(--border); }
.gallery-thumbs::-webkit-scrollbar { display:none; }
.g-thumb { width:64px; height:44px; border-radius:5px; background:var(--bg4); border:2px solid transparent; overflow:hidden; cursor:pointer; flex-shrink:0; transition:all .15s; }
.g-thumb img { width:100%; height:100%; object-fit:cover; }
.g-thumb.active { border-color:var(--acc); }
.pd-info-card { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius); padding:16px; }
.pd-type-label { font-size:10px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--acc); margin-bottom:5px; }
.pd-title { font-family:var(--font-head); font-size:18px; font-weight:700; line-height:1.25; margin-bottom:8px; }
.pd-seller-row { display:flex; align-items:center; gap:5px; font-size:12px; color:var(--text3); margin-bottom:10px; flex-wrap:wrap; }
.seller-av-sm { width:20px; height:20px; border-radius:50%; flex-shrink:0; background:linear-gradient(135deg,var(--acc),var(--acc2)); display:flex; align-items:center; justify-content:center; font-size:9px; color:white; font-weight:700; }
.verified-tag { display:inline-flex; align-items:center; gap:3px; font-size:9px; font-weight:700; color:var(--success); background:var(--success-bg); padding:2px 6px; border-radius:100px; }
.pd-rating { display:flex; align-items:center; gap:5px; font-size:12px; color:var(--text3); margin-bottom:12px; }
.stars-lg { color:var(--gold); font-size:14px; letter-spacing:-1px; }
.pd-price-box { margin-bottom:12px; }
.pd-orig { font-size:12px; color:var(--text3); text-decoration:line-through; }
.pd-price { font-family:var(--font-head); font-size:26px; font-weight:800; color:var(--text); line-height:1; }
.pd-price.free { color:var(--success); font-size:20px; }
.discount-tag { display:inline-block; font-size:10px; font-weight:700; background:var(--success-bg); color:var(--success); padding:2px 7px; border-radius:100px; margin-top:3px; }
.pd-tags { display:flex; gap:5px; flex-wrap:wrap; margin-bottom:12px; }
.tag { font-size:10px; font-weight:600; background:var(--bg3); border:1px solid var(--border); color:var(--text2); padding:3px 9px; border-radius:100px; }
.pd-demo-btns { display:flex; gap:6px; margin-bottom:12px; flex-wrap:wrap; }
.btn-demo-outline { font-size:11px; font-weight:600; background:var(--bg3); border:1.5px solid var(--border); color:var(--text2); padding:7px 12px; border-radius:var(--radius-sm); cursor:pointer; transition:all .2s; }
.btn-demo-outline:hover { border-color:var(--acc); color:var(--acc); }
.btn-buy-big { width:100%; padding:13px; background:linear-gradient(135deg,var(--acc),var(--acc2)); color:white; border:none; border-radius:var(--radius); font-size:14px; font-weight:700; cursor:pointer; transition:all .2s; margin-bottom:8px; }
.btn-buy-big:hover { opacity:.9; }
.btn-download-big { display:block; width:100%; padding:13px; background:linear-gradient(135deg,var(--success),#16a34a); color:white; border:none; border-radius:var(--radius); font-size:14px; font-weight:700; cursor:pointer; text-align:center; margin-bottom:8px; }
.btn-wishlist { width:100%; padding:9px; background:transparent; border:1.5px solid var(--border); color:var(--text2); border-radius:var(--radius); font-size:12px; font-weight:600; cursor:pointer; transition:all .2s; margin-bottom:12px; }
.btn-wishlist:hover { border-color:var(--acc); color:var(--acc); }
.btn-wishlist.active { border-color:rgba(239,68,68,.35); background:rgba(239,68,68,.08); color:#ef4444; }
.btn-wishlist.active:hover { border-color:#ef4444; background:rgba(239,68,68,.14); }
.btn-wishlist.pulse { animation:wishlistPulse .4s ease; }
@keyframes wishlistPulse { 0%{transform:scale(1)} 35%{transform:scale(1.06)} 100%{transform:scale(1)} }
.pd-meta-list { border-top:1px solid var(--border); padding-top:12px; display:flex; flex-direction:column; gap:7px; }
.pd-meta-item { display:flex; justify-content:space-between; align-items:center; font-size:12px; }
.pd-meta-item span { color:var(--text3); }
.pd-meta-item strong { color:var(--text); font-weight:600; }
.already-owned-note { font-size:11px; color:var(--success); text-align:center; margin-bottom:7px; }
.login-note { font-size:11px; color:var(--text3); text-align:center; margin-bottom:7px; }
.login-note a { color:var(--acc); }
.rcount-badge { font-size:11px; font-weight:400; background:var(--bg3); border:1px solid var(--border); color:var(--text3); padding:2px 7px; border-radius:100px; margin-left:5px; }
.review-card { background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius); padding:12px; margin-bottom:8px; }
.rev-top { display:flex; align-items:flex-start; gap:9px; margin-bottom:7px; }
.rev-avatar { width:30px; height:30px; border-radius:50%; flex-shrink:0; background:var(--bg4); display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; color:var(--text2); }
.rev-name { font-size:12px; font-weight:700; }
.rev-meta { font-size:10px; color:var(--text3); display:flex; align-items:center; gap:4px; }
.rev-title { font-size:12px; font-weight:700; margin-bottom:3px; }
.rev-text { font-size:12px; color:var(--text2); line-height:1.6; }
.write-review-box { background:var(--bg3); border:1.5px dashed var(--border2); border-radius:var(--radius); padding:14px; margin-top:12px; }
.write-review-box h4 { font-size:13px; font-weight:700; margin-bottom:10px; }
.star-picker { display:flex; flex-direction:row-reverse; justify-content:flex-end; gap:2px; margin-bottom:10px; }
.star-picker input { display:none; }
.star-picker label { font-size:22px; color:var(--border2); cursor:pointer; transition:color .15s; }
.star-picker input:checked ~ label,.star-picker label:hover,.star-picker label:hover ~ label { color:var(--gold); }
.pd-related { margin-top:24px; }

/* === PAYMENT MODAL === */
.modal-overlay { position:fixed; inset:0; z-index:500; background:rgba(0,0,0,.65); display:flex; align-items:flex-end; justify-content:center; padding:0; opacity:0; pointer-events:none; transition:opacity .3s; overflow-y:auto; overscroll-behavior:contain; }
.modal-overlay.open { opacity:1; pointer-events:all; }
.payment-modal { background:var(--bg2); border-radius:var(--radius-xl) var(--radius-xl) 0 0; width:100%; max-width:100%; border:1px solid var(--border); border-bottom:none; transform:translateY(100%); transition:transform .35s cubic-bezier(.4,0,.2,1); max-height:92vh; overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; touch-action:pan-y; }
.modal-overlay.open .payment-modal { transform:translateY(0); }
.pm-head { padding:16px 18px 14px; border-bottom:1px solid var(--border); display:flex; align-items:flex-start; justify-content:space-between; position:sticky; top:0; background:var(--bg2); z-index:1; }
.pm-label { font-size:10px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--acc); margin-bottom:3px; }
.pm-title { font-family:var(--font-head); font-size:15px; font-weight:700; color:var(--text); }
.pm-close { width:30px; height:30px; border-radius:50%; background:var(--bg3); border:none; display:flex; align-items:center; justify-content:center; font-size:15px; cursor:pointer; color:var(--text2); flex-shrink:0; }
.pm-body { padding:16px; padding-bottom:calc(24px + env(safe-area-inset-bottom, 0px)); }
.pm-price-display { font-size:13px; color:var(--text2); margin-bottom:14px; }
.pm-price-display strong { font-size:18px; color:var(--text); font-family:var(--font-head); font-weight:800; }
.pay-method-tabs { display:flex; gap:6px; margin-bottom:14px; }
.pmt { flex:1; padding:9px 6px; border-radius:var(--radius-sm); border:1.5px solid var(--border); background:var(--bg3); cursor:pointer; text-align:center; font-size:12px; font-weight:600; color:var(--text2); transition:all .15s; }
.pmt.active { border-color:var(--acc); background:var(--acc-light); color:var(--acc); }
.pm-method-lbl { font-size:12px; font-weight:700; color:var(--text2); margin:16px 0 8px; display:flex; align-items:center; gap:6px; }
.pm-back-link { background:none; border:none; color:var(--acc); font-size:12px; font-weight:600; padding:0 0 14px; cursor:pointer; }
.pmt-card { display:flex; align-items:center; gap:12px; padding:14px; border-radius:var(--radius); border:1.5px solid var(--border); background:var(--bg3); cursor:pointer; margin-bottom:8px; transition:all .15s; }
.pmt-card.active { border-color:var(--acc); background:var(--acc-light); }
.pmt-card .pmt-icon { width:38px; height:38px; border-radius:10px; background:var(--acc-light); display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.pmt-card .pmt-title { font-size:13px; font-weight:700; color:var(--text); }
.pmt-card .pmt-desc { font-size:11px; color:var(--text3); margin-top:2px; line-height:1.4; }
.pmt-card .pmt-radio { width:20px; height:20px; border-radius:50%; border:2px solid var(--border); margin-left:auto; flex-shrink:0; }
.pmt-card.active .pmt-radio { border-color:var(--acc); background:var(--acc); box-shadow:inset 0 0 0 4px var(--bg2); }
.upi-grid { display:flex; flex-direction:column; gap:12px; }
.qr-container { display:flex; justify-content:center; }
.qr-img { width:130px; height:130px; border:1.5px solid var(--border); border-radius:var(--radius); padding:8px; background:white; }
.qr-placeholder { width:130px; display:flex; flex-direction:column; align-items:center; }
.qr-box-inner { width:100%; aspect-ratio:1; background:white; border:1.5px solid var(--border); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; padding:10px; }
.qr-box-inner svg { color:#111; }
.qr-note { font-size:10px; color:var(--text3); text-align:center; margin-top:4px; width:100%; white-space:normal; word-break:normal; overflow-wrap:normal; }
.upi-id-row { display:flex; align-items:center; justify-content:space-between; background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius-sm); padding:9px 11px; margin-bottom:8px; }
.upi-lbl { font-size:10px; color:var(--text3); font-weight:700; text-transform:uppercase; letter-spacing:.5px; }
.upi-val { font-family:var(--font-mono); font-size:12px; font-weight:500; color:var(--text); }
.copy-btn { font-size:10px; font-weight:700; color:var(--acc); background:var(--acc-light); border:none; padding:4px 9px; border-radius:6px; cursor:pointer; transition:all .15s; flex-shrink:0; }
.copy-btn:hover { background:var(--acc); color:white; }
.upi-apps { margin-bottom:8px; }
.upi-app-label { font-size:10px; color:var(--text3); margin-bottom:4px; font-weight:600; }
.upi-app-icons { display:flex; gap:6px; flex-wrap:wrap; }
.upi-app-icons span { font-size:10px; font-weight:600; color:var(--text2); background:var(--bg3); border:1px solid var(--border); padding:3px 7px; border-radius:5px; }
.coupon-breakdown { background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius-sm); padding:10px 12px; margin-top:8px; font-size:12px; }
.cb-row { display:flex; justify-content:space-between; padding:3px 0; color:var(--text2); }
.cb-discount span:last-child { color:var(--success); font-weight:600; }
.cb-total { border-top:1px solid var(--border); margin-top:4px; padding-top:6px; font-weight:700; color:var(--text); }
.amt-highlight { background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius-sm); padding:10px 14px; text-align:center; }
.amt-highlight div:first-child { font-size:10px; color:var(--text3); }
.amt-big { font-family:var(--font-head); font-size:22px; font-weight:800; color:var(--text); }
.pm-note { font-size:11px; color:var(--warn); background:var(--warn-bg); border:1px solid rgba(245,158,11,.2); border-radius:var(--radius-sm); padding:9px 11px; margin-top:12px; line-height:1.5; }
.btn-next-step { width:100%; margin-top:14px; padding:12px; background:linear-gradient(135deg,var(--acc),var(--acc2)); color:white; border:none; border-radius:var(--radius); font-size:14px; font-weight:700; cursor:pointer; }
.pm-step-title { font-size:15px; font-weight:700; margin-bottom:14px; color:var(--text); }
.btn-confirm-pay { width:100%; padding:13px; background:linear-gradient(135deg,var(--acc),var(--acc2)); color:white; border:none; border-radius:var(--radius); font-size:14px; font-weight:700; cursor:pointer; }
.btn-confirm-pay:disabled { opacity:.6; cursor:not-allowed; }
.pm-guarantee { font-size:10px; color:var(--text3); text-align:center; margin-top:8px; }
.btn-back-step { background:none; border:none; color:var(--acc); font-size:12px; font-weight:600; cursor:pointer; margin-top:8px; font-family:var(--font); }
.pm-success { text-align:center; padding:16px 0; }
.success-icon { font-size:48px; margin-bottom:10px; }
.pm-success h3 { font-family:var(--font-head); font-size:20px; font-weight:700; margin-bottom:8px; }
.pm-success p { font-size:13px; color:var(--text2); line-height:1.6; margin-bottom:6px; }
.order-num-box { background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius-sm); padding:9px 14px; font-size:13px; font-weight:700; margin-top:10px; font-family:var(--font-mono); }
.card-info-box { background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius); padding:20px; text-align:center; }
.btn-razorpay { background:linear-gradient(135deg,#2563eb,#3b82f6); color:white; border:none; padding:10px 24px; border-radius:var(--radius); font-size:13px; font-weight:700; cursor:pointer; margin-top:10px; }

/* === AUTH === */
.auth-wrap { min-height:80vh; display:flex; align-items:center; justify-content:center; padding:24px 16px; }
.auth-card { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius-xl); padding:28px 22px; width:100%; max-width:400px; }
.auth-logo { display:flex; align-items:center; gap:9px; justify-content:center; margin-bottom:20px; }
.auth-logo-icon { width:40px; height:40px; background:linear-gradient(135deg,var(--acc),var(--acc2)); border-radius:11px; display:flex; align-items:center; justify-content:center; font-size:20px; }
.auth-logo-text { font-family:var(--font-head); font-size:18px; font-weight:700; }
.auth-logo-text span { color:var(--acc); }
.auth-title { font-family:var(--font-head); font-size:20px; font-weight:700; text-align:center; margin-bottom:5px; }
.auth-sub { font-size:12px; color:var(--text2); text-align:center; margin-bottom:18px; line-height:1.5; }
.auth-input-wrap { display:flex; align-items:center; background:var(--bg3); border:1.5px solid var(--border); border-radius:var(--radius); overflow:hidden; transition:all .2s; }
.auth-input-wrap:focus-within { border-color:var(--acc); box-shadow:0 0 0 3px var(--acc-light); }
.auth-input-prefix { padding:11px 12px; font-size:13px; font-weight:600; color:var(--text2); border-right:1px solid var(--border); white-space:nowrap; flex-shrink:0; }
.auth-input { flex:1; border:none; outline:none; padding:11px 14px; font-size:15px; font-family:var(--font); background:transparent; color:var(--text); min-width:0; }
.auth-input-plain { width:100%; padding:10px 12px; background:var(--bg3); border:1.5px solid var(--border); border-radius:var(--radius-sm); font-size:13px; font-family:var(--font); color:var(--text); outline:none; margin-bottom:12px; transition:all .2s; }
.auth-input-plain:focus { border-color:var(--acc); box-shadow:0 0 0 3px var(--acc-light); }
.btn-auth-submit { width:100%; padding:12px; background:linear-gradient(135deg,var(--acc),var(--acc2)); color:white; border:none; border-radius:var(--radius); font-size:14px; font-weight:700; cursor:pointer; transition:all .2s; }
.btn-auth-submit:hover { opacity:.9; transform:translateY(-1px); }
.auth-divider { text-align:center; font-size:11px; color:var(--text3); margin:14px 0; position:relative; }
.auth-divider::before,.auth-divider::after { content:''; position:absolute; top:50%; width:38%; height:1px; background:var(--border); }
.auth-divider::before { left:0; } .auth-divider::after { right:0; }
.auth-field { margin-bottom:12px; }
.auth-field label { display:block; font-size:11px; font-weight:700; color:var(--text2); text-transform:uppercase; letter-spacing:.7px; margin-bottom:5px; }

/* === DOWNLOAD === */
.download-card { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius-xl); padding:28px 22px; width:100%; max-width:440px; text-align:center; }
.dl-success-icon { font-size:48px; margin-bottom:10px; }
.dl-title { font-family:var(--font-head); font-size:22px; font-weight:700; margin-bottom:5px; }
.dl-product-name { font-size:13px; color:var(--text2); margin-bottom:18px; }
.dl-meta-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:20px; }
.dl-meta { background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius-sm); padding:10px; }
.dl-meta span { font-size:10px; color:var(--text3); display:block; margin-bottom:2px; font-weight:600; text-transform:uppercase; }
.dl-meta strong { font-size:13px; color:var(--text); font-weight:700; }
.btn-download-main { display:block; padding:14px; background:linear-gradient(135deg,var(--success),#16a34a); color:white; border:none; border-radius:var(--radius); font-size:15px; font-weight:700; cursor:pointer; text-align:center; margin-bottom:16px; }
.dl-instructions { background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius); padding:14px; text-align:left; margin-bottom:16px; }
.dl-instructions h4 { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--text3); margin-bottom:8px; }
.dl-instructions li { font-size:12px; color:var(--text2); margin-bottom:5px; line-height:1.5; }
.dl-support { display:flex; gap:7px; justify-content:center; flex-wrap:wrap; }
.btn-outline-sm { font-size:11px; font-weight:600; background:var(--bg3); border:1px solid var(--border); color:var(--text2); padding:6px 12px; border-radius:var(--radius-sm); cursor:pointer; transition:all .2s; text-decoration:none; display:inline-block; }
.btn-outline-sm:hover { border-color:var(--acc); color:var(--acc); }

/* === ADMIN/SELLER === */
.admin-wrap,.seller-wrap { width:100%; padding:14px 12px; overflow:hidden; }
.admin-container,.seller-container { width:100%; max-width:1100px; margin:0 auto; }
.admin-page-head,.seller-page-head { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:18px; gap:10px; flex-wrap:wrap; }
.admin-page-title,.seller-page-title { font-family:var(--font-head); font-size:22px; font-weight:700; }
.admin-page-sub,.seller-page-sub { font-size:12px; color:var(--text3); margin-top:3px; }
.admin-head-actions { display:flex; gap:8px; align-items:center; flex-shrink:0; }
.stats-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-bottom:18px; }
.stat-card { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius); padding:14px; display:flex; align-items:center; gap:10px; }
.stat-card.green { border-left:3px solid var(--success); }
.stat-card.orange { border-left:3px solid var(--warn); }
.stat-card.blue { border-left:3px solid var(--info); }
.stat-card.purple { border-left:3px solid #a855f7; }
.sc-icon { font-size:22px; flex-shrink:0; }
.sc-label { font-size:10px; color:var(--text3); font-weight:600; text-transform:uppercase; letter-spacing:.5px; }
.sc-val { font-family:var(--font-head); font-size:22px; font-weight:800; color:var(--text); line-height:1.1; }
.sc-sub { font-size:10px; color:var(--text3); margin-top:1px; }
.admin-card,.seller-card { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.ac-head,.seller-card-head { padding:13px 16px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
.ac-head h3,.seller-card-head h3 { font-family:var(--font-head); font-size:14px; font-weight:700; display:flex; align-items:center; gap:6px; }
.ac-link { font-size:12px; color:var(--acc); font-weight:600; }
.badge-pill { font-size:10px; font-weight:700; padding:2px 7px; border-radius:100px; }
.badge-pill.red { background:var(--red-bg); color:var(--red); }
.badge-pill.orange { background:var(--warn-bg); color:var(--warn); }
.empty-msg { padding:16px; text-align:center; font-size:12px; color:var(--text3); }
.table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; width:100%; }
.admin-table { width:max-content; min-width:100%; border-collapse:collapse; font-size:12px; }
.admin-table thead tr { background:var(--bg3); }
.admin-table th { padding:9px 12px; text-align:left; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.7px; color:var(--text3); border-bottom:1px solid var(--border); white-space:nowrap; }
.admin-table td { padding:10px 12px; border-bottom:1px solid var(--border); vertical-align:middle; }
.admin-table tr:hover td { background:var(--bg3); }
.admin-table tr:last-child td { border-bottom:none; }
.order-num { font-family:var(--font-mono); font-size:11px; font-weight:500; color:var(--acc); }
.action-td { display:flex; gap:5px; align-items:center; flex-wrap:wrap; }
.empty-cell { text-align:center; color:var(--text3); padding:20px !important; }
code { font-family:var(--font-mono); font-size:11px; background:var(--bg3); padding:1px 5px; border-radius:4px; color:var(--text2); }
.green-text { color:var(--success); }
.status-badge { font-size:9px; font-weight:700; padding:2px 7px; border-radius:100px; white-space:nowrap; }
.status-verified,.status-active { background:var(--success-bg); color:var(--success); }
.status-pending,.status-submitted { background:var(--warn-bg); color:var(--warn); }
.status-failed,.status-rejected,.status-suspended { background:var(--red-bg); color:var(--red); }
.pending-prod-row { display:flex; align-items:center; justify-content:space-between; padding:10px 16px; border-bottom:1px solid var(--border); gap:10px; }
.pending-prod-row:last-child { border-bottom:none; }
.pp-title { font-size:13px; font-weight:600; color:var(--text); }
.pp-meta { font-size:10px; color:var(--text3); margin-top:2px; }
.pp-price { font-size:12px; font-weight:700; color:var(--acc); margin-top:3px; }
.pp-actions { display:flex; gap:5px; flex-shrink:0; }
.payout-banner { background:var(--success-bg); border:1px solid rgba(34,197,94,.25); border-radius:var(--radius); padding:12px 16px; display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:13px; font-weight:500; color:var(--success); flex-wrap:wrap; }
.admin-two-col { display:grid; grid-template-columns:1fr; gap:14px; }
.seller-form-grid { display:flex; flex-direction:column; gap:14px; }
.sfg-main,.sfg-sidebar { min-width:0; }
.sc-title { font-family:var(--font-head); font-size:14px; font-weight:700; margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid var(--border); }
.sc-desc { font-size:12px; color:var(--text3); margin-bottom:14px; }
.seller-note { font-size:11px; color:var(--warn); background:var(--warn-bg); border:1px solid rgba(245,158,11,.2); border-radius:6px; padding:7px 10px; margin-top:7px; }
.submit-note { font-size:11px; color:var(--text3); text-align:center; margin-top:7px; line-height:1.5; }
.settings-tabs { display:flex; gap:3px; background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius); padding:4px; margin-bottom:14px; overflow-x:auto; scrollbar-width:none; }
.settings-tabs::-webkit-scrollbar { display:none; }
.stab { padding:7px 12px; border-radius:var(--radius-sm); border:none; background:transparent; font-size:12px; font-weight:600; color:var(--text2); cursor:pointer; white-space:nowrap; transition:all .15s; }
.stab.active { background:var(--bg2); color:var(--acc); }
.stab-panel { display:none; }
.stab-panel.active { display:block; }
.settings-card { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius); padding:16px; margin-bottom:12px; }
.theme-presets-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.theme-preset-card { position:relative; border:2px solid var(--border); border-radius:var(--radius); padding:14px 10px; cursor:pointer; transition:all .2s; display:flex; flex-direction:column; align-items:center; gap:7px; }
.theme-preset-card:hover,.theme-preset-card.active { border-color:var(--acc); background:var(--acc-light); }
.theme-preset-card input { display:none; }
.tpc-swatch { width:36px; height:36px; border-radius:50%; }
.tpc-name { font-size:11px; font-weight:600; color:var(--text); }
.tpc-check { position:absolute; top:6px; right:6px; font-size:12px; color:var(--acc); display:none; }
.theme-preset-card.active .tpc-check { display:block; }

/* === TOAST === */
.toast-wrap { position:fixed; bottom:16px; left:12px; right:12px; z-index:9999; pointer-events:none; }
.toast { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius); padding:12px 14px; display:flex; align-items:flex-start; gap:9px; box-shadow:0 8px 32px var(--shadow2); max-width:100%; transform:translateY(100px); opacity:0; transition:all .35s cubic-bezier(.4,0,.2,1); border-left:3px solid var(--acc); pointer-events:all; position:relative; }
.toast.show { transform:translateY(0); opacity:1; }
.toast-icon { font-size:18px; flex-shrink:0; }
.toast-title { font-size:12px; font-weight:700; color:var(--text); margin-bottom:1px; }
.toast-desc { font-size:11px; color:var(--text2); line-height:1.4; }
.toast-close { position:absolute; top:8px; right:8px; background:none; border:none; cursor:pointer; font-size:13px; color:var(--text3); }

/* === FOOTER === */
.main-footer { background:var(--bg2); border-top:1px solid var(--border); padding:28px 16px 20px; margin-top:32px; }
.footer-wrap { width:100%; }
.footer-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }
.footer-brand-col { grid-column:1 / -1; }
.footer-logo { font-family:var(--font-head); font-size:18px; font-weight:700; margin-bottom:5px; }
.footer-logo span { color:var(--acc); }
.footer-tagline { font-size:11px; font-weight:600; color:var(--acc); margin-bottom:6px; }
.footer-about { font-size:12px; color:var(--text3); line-height:1.6; margin-bottom:12px; }
.footer-social { display:flex; gap:7px; }
.social-ico { width:30px; height:30px; border-radius:50%; background:var(--bg3); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:13px; transition:all .2s; }
.social-ico:hover { background:var(--acc); border-color:var(--acc); }
.footer-col h4 { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.8px; margin-bottom:10px; color:var(--text); }
.footer-col a { display:block; font-size:12px; color:var(--text3); margin-bottom:7px; transition:color .15s; }
.footer-col a:hover { color:var(--acc); }
.footer-bottom { border-top:1px solid var(--border); padding-top:14px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px; }
.footer-bottom span { font-size:11px; color:var(--text3); }

/* === PAGINATION === */
.pagination { display:flex; gap:5px; justify-content:center; margin-top:20px; flex-wrap:wrap; }
.page-btn { font-size:12px; font-weight:600; padding:7px 12px; background:var(--bg2); border:1px solid var(--border); color:var(--text2); border-radius:var(--radius-sm); cursor:pointer; transition:all .15s; text-decoration:none; display:inline-block; }
.page-btn:hover { border-color:var(--acc); color:var(--acc); }
.page-btn.active { background:var(--acc); color:white; border-color:var(--acc); }

/* === EMPTY STATE === */
.empty-state { text-align:center; padding:48px 20px; }
.empty-icon { font-size:44px; margin-bottom:12px; }
.empty-state h3 { font-family:var(--font-head); font-size:18px; font-weight:700; margin-bottom:7px; }
.empty-state p { font-size:13px; color:var(--text3); margin-bottom:16px; }

/* === COUPON === */
.coupon-row { display:flex; gap:7px; }
.coupon-row .form-inp { flex:1; min-width:0; }
.btn-apply { font-size:12px; font-weight:700; padding:9px 14px; background:var(--bg3); border:1.5px solid var(--border); color:var(--text2); border-radius:var(--radius-sm); cursor:pointer; transition:all .2s; white-space:nowrap; }
.btn-apply:hover { border-color:var(--acc); color:var(--acc); }

/* === TABLET 600px+ === */
@media (min-width:600px) {
  .header-search { display:block; }
  .hero-h1 { font-size:clamp(32px,5vw,52px); }
  .products-grid { grid-template-columns:repeat(3,1fr); gap:14px; }
  .pd-grid { display:grid; grid-template-columns:1fr 300px; gap:20px; }
  .pd-right { position:sticky; top:100px; }
  .features-list { display:grid; grid-template-columns:1fr 1fr; gap:5px; }
  .admin-two-col { grid-template-columns:1fr 1fr; }
  .seller-form-grid { display:grid; grid-template-columns:1fr 300px; }
  .sfg-sidebar { position:sticky; top:80px; }
  .footer-grid { grid-template-columns:2fr 1fr 1fr; }
  .footer-brand-col { grid-column:1; }
  .stats-grid { grid-template-columns:repeat(4,1fr); }
  .payment-modal { border-radius:var(--radius-xl); max-width:560px; border-bottom:1px solid var(--border); align-self:center; transform:translateY(20px); }
  .modal-overlay { align-items:center; padding:20px; }
  .modal-overlay.open .payment-modal { transform:translateY(0); }
  .upi-grid { display:grid; grid-template-columns:130px 1fr; }
}

/* === DESKTOP 900px+ === */
@media (min-width:900px) {
  .header-wrap { padding:0 24px; }
  .section-wrap { padding:28px 24px; max-width:1280px; margin-left:auto; margin-right:auto; }
  .admin-wrap,.seller-wrap { padding:24px; }
  .products-grid { grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:16px; }
  .hero-section { padding:56px 24px 48px; }
  .footer-grid { grid-template-columns:2fr 1fr 1fr 1fr; }
}

/* ===== PAGE-LEVEL OVERFLOW GUARD (scoped — no longer kills intentional scroll/wrap) ===== */
html, body { overflow-x:hidden !important; max-width:100vw !important; }
img, video, iframe { max-width:100% !important; }
.hero-section, .main-header { overflow:hidden; }
.main-footer { overflow:hidden; }
.stats-grid, .products-grid, .section-wrap, .admin-wrap, .seller-wrap { overflow:hidden; }
/* User dropdown */
.user-dropdown {
  position:absolute !important;
  top:calc(100% + 8px) !important;
  right:0 !important;
  left:auto !important;
  min-width:200px;
  max-width:240px;
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:0 8px 32px var(--shadow2);
  display:none;
  z-index:9999;
  overflow:hidden;
}
.user-dropdown.show { display:block !important; }
.user-menu-wrap { position:relative; }
@media (max-width:400px) {
  .user-dropdown { right:-8px !important; min-width:180px; }
}

/* ===== WISHLIST PAGE ===== */
.wishlist-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
@media (min-width:600px) { .wishlist-grid { grid-template-columns:repeat(3,1fr); } }

/* Logo with image + text */
.logo-link { display:flex; align-items:center; gap:7px; flex-shrink:0; min-width:0; }
.logo-link img { height:34px; width:34px; object-fit:contain; border-radius:8px; flex-shrink:0; }
.logo-text { font-family:var(--font-head); font-size:15px; font-weight:700; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.logo-text span { color:var(--acc); }

/* ===== CRITICAL DROPDOWN FIX ===== */
/* Dropdown is being clipped by parent overflow:hidden */
.main-header {
  overflow: visible !important;
}
.header-wrap {
  overflow: visible !important;
  position: relative;
}
.header-right {
  overflow: visible !important;
  position: relative;
}
.user-menu-wrap {
  position: relative !important;
  overflow: visible !important;
}
.user-dropdown {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  right: 0 !important;
  left: auto !important;
  min-width: 200px !important;
  max-width: 240px !important;
  width: max-content !important;
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25) !important;
  display: none !important;
  z-index: 99999 !important;
  overflow: visible !important;
  /* NOT clipped by any parent */
  clip-path: none !important;
}
.user-dropdown.show {
  display: block !important;
}
.dd-link {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  transition: all .15s;
  text-decoration: none;
  white-space: nowrap;
}
.dd-link:hover {
  background: var(--bg3) !important;
  color: var(--text) !important;
}
.dd-link.red:hover {
  color: var(--red) !important;
}
.dd-sep {
  height: 1px;
  background: var(--border);
  margin: 3px 0;
}
