:root {
  --bg: #0A0A0F;
  --bg-elev: #13131A;
  --border: #23232E;
  --text: #F5F5F7;
  --text-muted: #9A9AA8;
  --accent: #00E5FF;
  --accent-dim: rgba(0, 229, 255, 0.15);
  --radius: 14px;
  --max-width: 1080px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: var(--text); }
.logo-accent { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 0.95rem; font-weight: 500; color: var(--text-muted); text-decoration: none;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--accent); }
.badge {
  font-size: 0.78rem; font-weight: 600; color: var(--accent);
  background: var(--accent-dim); border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 6px 12px; border-radius: 999px;
}

.btn {
  font-family: inherit; font-size: 1rem; font-weight: 600; border: none; cursor: pointer;
  border-radius: var(--radius);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--accent); color: #001318; padding: 16px 40px;
  box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4); }
.btn-primary:active { transform: translateY(0); }

.hero { position: relative; text-align: center; padding: 120px 24px 100px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.18) 0%, rgba(0, 229, 255, 0) 60%);
  pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.08; max-width: 900px; margin: 0 auto 24px;
}
.accent { color: var(--accent); }
.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); max-width: 620px; margin: 0 auto 40px; }

.features { padding: 80px 0 100px; border-top: 1px solid var(--border); }
.section-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 48px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 32px; transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { border-color: rgba(0, 229, 255, 0.4); transform: translateY(-4px); }
.feature-icon { font-size: 2.2rem; margin-bottom: 18px; }
.feature-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); }

.page-hero { position: relative; text-align: center; padding: 96px 24px 64px; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero .hero-glow { top: -200px; }
.eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.page-title {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; max-width: 820px; margin: 0 auto 20px;
}
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 680px; margin: 0 auto; }

.about-section { padding: 72px 0; border-bottom: 1px solid var(--border); }
.about-section:last-of-type { border-bottom: none; }
.about-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.about-section p { color: var(--text-muted); margin-bottom: 16px; max-width: 720px; }
.about-section p strong { color: var(--text); font-weight: 600; }

.prose-narrow { max-width: 720px; }

.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.audience-card {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px;
}
.audience-card .feature-icon { margin-bottom: 14px; }
.audience-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.audience-card p { color: var(--text-muted); margin: 0; }
.audience-card ul { list-style: none; margin: 14px 0 0; padding: 0; }
.audience-card li { color: var(--text-muted); padding: 6px 0 6px 24px; position: relative; }
.audience-card li::before { content: "\2192"; position: absolute; left: 0; color: var(--accent); }

.vision {
  margin-top: 32px; background: linear-gradient(180deg, rgba(0,229,255,0.06), rgba(0,229,255,0));
  border: 1px solid rgba(0, 229, 255, 0.25); border-radius: var(--radius); padding: 40px;
}
.vision p { color: var(--text); font-size: 1.15rem; margin: 0; }
.vision p .accent { font-weight: 700; }

.footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-text { color: var(--text-muted); font-size: 0.92rem; }

.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--bg-elev); border: 1px solid var(--accent); color: var(--text);
  padding: 14px 24px; border-radius: var(--radius); font-weight: 500;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 10px 40px rgba(0, 229, 255, 0.25); z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.explore-section { padding: 56px 0 100px; }
.explore-controls { display: flex; flex-direction: column; gap: 24px; margin-bottom: 44px; }

.search-bar { position: relative; max-width: 560px; width: 100%; margin: 0 auto; }
.search-bar .search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 1.1rem; opacity: 0.55; pointer-events: none; }
.search-bar input {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px;
  padding: 15px 20px 15px 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }

.category-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.category-btn {
  font-family: inherit; font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 20px; cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.category-btn:hover { color: var(--text); border-color: rgba(0, 229, 255, 0.4); }
.category-btn.active { color: #001318; background: var(--accent); border-color: var(--accent); font-weight: 600; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.product-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover { border-color: rgba(0, 229, 255, 0.4); transform: translateY(-4px); }
.product-img {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  font-size: 3.4rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.10), transparent 60%),
    linear-gradient(135deg, #15151d, #0d0d12);
  border-bottom: 1px solid var(--border);
}
.product-body { padding: 18px 18px 20px; }
.product-cat { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.product-name { font-size: 1.08rem; font-weight: 600; margin: 6px 0 14px; }
.product-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.product-maker { font-size: 0.88rem; color: var(--text-muted); }
.product-price { font-size: 1.08rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.card-rating { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; }
.card-rev { font-size: 0.78rem; color: var(--text-muted); }

.no-results { text-align: center; color: var(--text-muted); padding: 32px 0 64px; font-size: 1.05rem; }
.no-results[hidden] { display: none; }

.breadcrumb { font-size: 0.88rem; color: var(--text-muted); padding: 24px 0 0; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 24px 0 56px; }
.gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery-main {
  aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 7rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.12), transparent 60%),
    linear-gradient(135deg, #15151d, #0d0d12);
}
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.thumb {
  aspect-ratio: 1 / 1; border-radius: 10px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; cursor: pointer;
  background: var(--bg-elev); transition: border-color 0.15s ease;
}
.thumb:hover, .thumb.active { border-color: var(--accent); }

.product-info { display: flex; flex-direction: column; gap: 18px; }
.product-info .product-cat { font-size: 0.8rem; }
.product-info h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.seller-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--text-muted); font-size: 0.95rem; }
.seller-row .maker { color: var(--text); font-weight: 500; }
.rating { display: inline-flex; align-items: center; gap: 6px; }
.stars { color: #ffc83d; letter-spacing: 1px; }
.price-row { display: flex; align-items: baseline; gap: 12px; padding: 4px 0; }
.price-lg { font-size: 2.2rem; font-weight: 800; color: var(--text); }
.price-sub { color: var(--text-muted); font-size: 0.92rem; }

.spec-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.spec-item { background: var(--bg-elev); padding: 16px 18px; }
.spec-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 4px; }
.spec-value { font-size: 0.98rem; font-weight: 600; color: var(--text); }

.btn-buy {
  font-family: inherit; font-size: 1.05rem; font-weight: 700; border: none; cursor: pointer;
  background: var(--accent); color: #001318; padding: 18px 28px; border-radius: var(--radius);
  text-align: center; text-decoration: none; display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4); }
.btn-buy.full { width: 100%; }

.product-description { padding: 16px 0 0; border-top: 1px solid var(--border); }
.product-description h2 { font-size: 1.3rem; font-weight: 700; margin: 32px 0 16px; }
.product-description p { color: var(--text-muted); margin-bottom: 14px; max-width: 720px; }

.section-block { padding: 56px 0; border-top: 1px solid var(--border); }
.section-block h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 700; margin-bottom: 28px; }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.review-name { font-weight: 600; }
.review-date { font-size: 0.8rem; color: var(--text-muted); }
.review-card .stars { font-size: 0.85rem; }
.review-card p { color: var(--text-muted); font-size: 0.95rem; }

.related .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.login-main { padding: 72px 24px 96px; }
.login-card { max-width: 440px; margin: 0 auto; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px; }
.login-card h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; text-align: center; }
.login-sub { text-align: center; color: var(--text-muted); margin-bottom: 24px; font-size: 0.95rem; }
.login-message { background: var(--accent-dim); border: 1px solid rgba(0, 229, 255, 0.35); color: var(--text); padding: 14px 16px; border-radius: 10px; font-size: 0.92rem; margin-bottom: 22px; }
.login-message[hidden] { display: none; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.form-input { width: 100%; font-family: inherit; font-size: 0.98rem; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.btn-block { width: 100%; }
.login-alt { text-align: center; margin-top: 18px; font-size: 0.9rem; color: var(--text-muted); }
.login-alt a { color: var(--accent); text-decoration: none; }
.login-alt a:hover { text-decoration: underline; }

.sell-main { padding: 16px 24px 96px; }
.sell-card { max-width: 760px; margin: 0 auto; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px; }
.sell-card h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.sell-card .sell-intro { color: var(--text-muted); margin-bottom: 26px; font-size: 0.96rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-group.full { grid-column: 1 / -1; }
textarea.form-input { resize: vertical; min-height: 124px; }
select.form-input { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 18px) center, calc(100% - 13px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.price-wrap { position: relative; }
.price-wrap .currency { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.price-wrap .form-input { padding-left: 28px; }
.file-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; border: 1px dashed var(--border); border-radius: 12px; padding: 28px; color: var(--text-muted); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; background: var(--bg); }
.file-drop:hover { border-color: var(--accent); background: rgba(0, 229, 255, 0.04); }
.file-drop .file-icon { font-size: 1.6rem; opacity: 0.8; }
.file-drop .file-hint { font-size: 0.82rem; opacity: 0.75; }
.file-drop input[type="file"] { display: none; }
.file-names { font-size: 0.85rem; color: var(--accent); margin-top: 8px; }
.form-success { text-align: center; padding: 24px 8px 8px; }
.form-success .success-icon { font-size: 2.6rem; margin-bottom: 12px; }
.form-success h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); margin-bottom: 22px; }

.login-alt-line { text-align: center; margin-top: 18px; font-size: 0.92rem; color: var(--text-muted); }
.login-alt-line a { color: var(--accent); text-decoration: none; }
.login-alt-line a:hover { text-decoration: underline; }
.forgot-link { display: block; text-align: right; font-size: 0.85rem; color: var(--text-muted); text-decoration: none; margin: -6px 0 18px; }
.forgot-link:hover { color: var(--accent); }

/* Dashboard */
.dashboard-main { padding: 40px 24px 96px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.welcome { display: flex; align-items: center; gap: 16px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem; flex-shrink: 0; }
.welcome h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
.welcome p { color: var(--text-muted); font-size: 0.95rem; }

.seller-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, rgba(0,229,255,0.12), rgba(0,229,255,0.02)); border: 1px solid rgba(0,229,255,0.3); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 36px; }
.seller-banner .sb-text h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.seller-banner .sb-text p { color: var(--text-muted); font-size: 0.92rem; margin: 0; max-width: 460px; }

.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dash-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; }
.dash-card.full { grid-column: 1 / -1; }
.dash-card h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; }
.dash-card h2 a { font-size: 0.82rem; font-weight: 500; color: var(--accent); text-decoration: none; }

.profile-block { display: flex; align-items: center; gap: 16px; }
.profile-block .avatar { width: 60px; height: 60px; font-size: 1.5rem; }
.profile-info .pname { font-weight: 700; font-size: 1.05rem; }
.profile-info .pmeta { color: var(--text-muted); font-size: 0.87rem; margin-top: 2px; }

.orders-list { display: flex; flex-direction: column; gap: 12px; }
.order-item { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; }
.order-emoji { width: 42px; height: 42px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.order-main { flex: 1; min-width: 0; }
.order-name { font-weight: 600; font-size: 0.95rem; }
.order-sub { color: var(--text-muted); font-size: 0.82rem; }
.order-right { text-align: right; flex-shrink: 0; }
.order-price { font-weight: 700; font-size: 0.95rem; }
.status { display: inline-block; font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-top: 4px; }
.status.delivered { color: #34d399; background: rgba(52,211,153,0.12); }
.status.shipped { color: var(--accent); background: var(--accent-dim); }
.status.processing { color: #fbbf24; background: rgba(251,191,36,0.12); }

.saved-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.saved-item { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: inherit; transition: border-color 0.15s ease; }
.saved-item:hover { border-color: rgba(0,229,255,0.4); }
.saved-emoji { width: 38px; height: 38px; border-radius: 8px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.saved-name { font-size: 0.88rem; font-weight: 600; line-height: 1.2; }
.saved-price { font-size: 0.8rem; color: var(--text-muted); }

.settings-list { display: flex; flex-direction: column; }
.settings-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; }
.settings-item:last-child { border-bottom: none; }
.settings-item:hover .s-label { color: var(--accent); }
.s-label { font-size: 0.95rem; }
.s-arrow { color: var(--text-muted); }

/* Buy row (product) */
.buy-row { display: flex; gap: 12px; }
.btn-cart {
  font-family: inherit; font-size: 1.05rem; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--accent); padding: 18px 24px;
  border: 1px solid var(--accent); border-radius: var(--radius);
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.btn-cart:hover { background: var(--accent-dim); }
.buy-row .btn-buy { flex: 1; }

/* Cart */
.cart-main { padding: 40px 24px 96px; }
.page-head { margin-bottom: 28px; }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; }
.page-head p { color: var(--text-muted); margin-top: 4px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: flex; align-items: center; gap: 16px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.cart-emoji { width: 64px; height: 64px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; }
.cart-info { flex: 1; min-width: 0; }
.cart-name { font-weight: 600; }
.cart-name a { color: inherit; text-decoration: none; }
.cart-name a:hover { color: var(--accent); }
.cart-meta { color: var(--text-muted); font-size: 0.85rem; margin-top: 2px; }
.cart-remove { background: none; border: none; color: var(--text-muted); font-size: 0.8rem; cursor: pointer; padding: 6px 0 0; text-decoration: underline; font-family: inherit; }
.cart-remove:hover { color: #ff6b6b; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.qty button { width: 34px; height: 38px; background: var(--bg); border: none; color: var(--text); font-size: 1.15rem; cursor: pointer; font-family: inherit; }
.qty button:hover { color: var(--accent); }
.qty span { width: 36px; text-align: center; font-weight: 600; }
.cart-line { font-weight: 700; min-width: 70px; text-align: right; flex-shrink: 0; }

.cart-summary { position: sticky; top: 88px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.cart-summary h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; color: var(--text-muted); font-size: 0.95rem; }
.sum-row.total { color: var(--text); font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; }
.sum-row .free { color: #34d399; font-weight: 600; }
.delivery-est { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin: 16px 0; font-size: 0.88rem; color: var(--text-muted); }
.delivery-est strong { color: var(--text); }
.cart-summary .btn-buy { margin-top: 8px; width: 100%; }
.cart-empty { text-align: center; padding: 64px 24px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); }
.cart-empty p { color: var(--text-muted); margin: 8px 0 20px; }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.checkout-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.checkout-card h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; }
.address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.address-grid .full { grid-column: 1 / -1; }
.pay-placeholder { display: flex; align-items: center; gap: 12px; background: var(--bg); border: 1px dashed var(--border); border-radius: 10px; padding: 14px 16px; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 16px; }
.pay-placeholder .lock { font-size: 1.2rem; }
.card-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.mini-summary { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: 88px; }
.mini-summary h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.mini-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.mini-item:last-of-type { border-bottom: none; }
.mini-emoji { width: 40px; height: 40px; border-radius: 8px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.mini-info { flex: 1; min-width: 0; }
.mini-name { font-size: 0.9rem; font-weight: 600; line-height: 1.2; }
.mini-qty { font-size: 0.78rem; color: var(--text-muted); }
.mini-price { font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }

/* Dashboard tabs */
.dash-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.dash-tab { background: none; border: none; color: var(--text-muted); font-family: inherit; font-size: 0.95rem; font-weight: 600; padding: 12px 18px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.dash-tab:hover { color: var(--text); }
.dash-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: dashFade 0.2s ease; }
@keyframes dashFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel-grid .full { grid-column: 1 / -1; }

/* Stats (sales / earnings) */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.stat-card .stat-label { font-size: 0.74rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.stat-card .stat-value { font-size: 1.5rem; font-weight: 800; margin-top: 6px; }
.stat-card .stat-delta { font-size: 0.78rem; color: #34d399; margin-top: 4px; }

/* Listings table */
.listings { display: flex; flex-direction: column; gap: 10px; }
.listing-row { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); }
.listing-emoji { width: 46px; height: 46px; border-radius: 8px; background: var(--bg-elev); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.listing-main { flex: 1; min-width: 0; }
.listing-title { font-weight: 600; font-size: 0.95rem; }
.listing-meta { color: var(--text-muted); font-size: 0.8rem; }
.listing-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-mini { font-family: inherit; font-size: 0.8rem; font-weight: 600; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text); cursor: pointer; text-decoration: none; }
.btn-mini:hover { border-color: var(--accent); color: var(--accent); }
.btn-mini.danger:hover { border-color: #ff6b6b; color: #ff6b6b; }

/* Saved creators */
.creator-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.creator-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); text-decoration: none; color: inherit; transition: border-color 0.15s ease; }
.creator-card:hover { border-color: rgba(0,229,255,0.4); }
.creator-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.creator-info { flex: 1; min-width: 0; }
.creator-name { font-weight: 600; font-size: 0.92rem; }
.creator-meta { font-size: 0.78rem; color: var(--text-muted); }
.follow-btn { font-family: inherit; font-size: 0.78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--accent); background: transparent; color: var(--accent); cursor: pointer; flex-shrink: 0; }
.follow-btn:hover { background: var(--accent-dim); }

/* Earnings chart */
.earnings-chart { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 16px 0 26px; }
.earnings-bar { flex: 1; background: linear-gradient(180deg, var(--accent), rgba(0,229,255,0.2)); border-radius: 6px 6px 0 0; position: relative; min-height: 8px; opacity: 0.85; }
.earnings-bar.peak { opacity: 1; }
.earnings-bar span { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 0.68rem; color: var(--text-muted); }

/* Seller tools grid */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tool-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); text-decoration: none; color: inherit; transition: border-color 0.15s ease; }
.tool-card:hover { border-color: rgba(0,229,255,0.4); }
.tool-icon { font-size: 1.5rem; }
.tool-name { font-weight: 600; font-size: 0.92rem; }
.tool-desc { font-size: 0.78rem; color: var(--text-muted); }

/* Order tracking */
.track-wrap { max-width: 720px; margin: 0 auto; }
.track-eta { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, rgba(0,229,255,0.1), rgba(0,229,255,0.02)); border: 1px solid rgba(0,229,255,0.3); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; }
.track-eta .eta-label { color: var(--text-muted); font-size: 0.9rem; }
.track-eta .eta-date { font-weight: 800; font-size: 1.2rem; margin-left: auto; }
.track-timeline { position: relative; padding-left: 40px; }
.track-timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.track-step { position: relative; padding-bottom: 30px; }
.track-step:last-child { padding-bottom: 0; }
.track-dot { position: absolute; left: -33px; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-elev); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--text-muted); }
.track-step.done .track-dot { border-color: #34d399; background: rgba(52,211,153,0.15); color: #34d399; }
.track-step.current .track-dot { border-color: var(--accent); background: var(--accent-dim); color: var(--accent); box-shadow: 0 0 0 5px rgba(0,229,255,0.12); }
.track-title { font-weight: 700; font-size: 1rem; }
.track-step.upcoming .track-title { color: var(--text-muted); }
.track-date { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.track-note { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }

/* Report / safety */
.report-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--border); margin-top: 32px; }
.report-bar .report-info { font-size: 0.85rem; color: var(--text-muted); }
.report-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.report-btn { font-family: inherit; font-size: 0.82rem; font-weight: 600; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); cursor: pointer; text-decoration: none; display: inline-block; }
.report-btn:hover { border-color: #ff6b6b; color: #ff6b6b; }

/* Rules page */
.rules-main { padding: 16px 24px 96px; }
.rules-card { max-width: 760px; margin: 0 auto; }
.rules-section { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 20px; }
.rules-section h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.rules-section .rules-intro { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; }
.rules-list { list-style: none; padding: 0; margin: 0; }
.rules-list li { padding: 11px 0 11px 30px; border-bottom: 1px solid var(--border); color: var(--text-muted); position: relative; font-size: 0.94rem; }
.rules-list li:last-child { border-bottom: none; }
.rules-list li::before { content: "\2713"; position: absolute; left: 0; top: 11px; color: var(--accent); font-weight: 700; }
.rules-list.danger li::before { content: "\2717"; color: #ff6b6b; }
.rules-list li strong { color: var(--text); }
.moderation-note { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 16px; font-size: 0.88rem; color: var(--text-muted); }
.moderation-note .mod-icon { font-size: 1.3rem; }

/* Filters */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.filter-select {
  font-family: inherit; font-size: 0.88rem; font-weight: 500; color: var(--text);
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 36px 10px 18px; cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) center, calc(100% - 11px) center;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.filter-select:hover { border-color: rgba(0, 229, 255, 0.4); }
.filter-select:focus { outline: none; border-color: var(--accent); }
.filters-active { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 12px; font-size: 0.82rem; color: var(--text-muted); }
.clear-btn { background: none; border: none; color: var(--accent); font-family: inherit; font-size: 0.82rem; cursor: pointer; text-decoration: underline; padding: 0; }

/* Loading skeleton */
.loading-pill { display: inline-flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.9rem; justify-content: center; padding: 24px 0; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.skel-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.skel-block { background: linear-gradient(90deg, #14141c 25%, #1c1c26 50%, #14141c 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skel-img { aspect-ratio: 4 / 3; }
.skel-line { height: 12px; margin: 14px 18px; border-radius: 6px; }
.skel-line.short { width: 45%; }
.skel-foot { height: 14px; margin: 14px 18px 18px; border-radius: 6px; width: 70%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Empty / error states */
.empty-state { text-align: center; padding: 56px 24px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); }
.empty-state .empty-icon { font-size: 2.4rem; margin-bottom: 12px; opacity: 0.8; }
.empty-state h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

.err-main { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 64px 24px; text-align: center; }
.err-code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--accent); text-shadow: 0 0 60px rgba(0, 229, 255, 0.35); }
.err-main h1 { font-size: 1.4rem; font-weight: 700; margin: 12px 0 6px; }
.err-main p { color: var(--text-muted); margin-bottom: 24px; max-width: 440px; }

@media (max-width: 900px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary, .mini-summary { position: static; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .feature-grid, .audience-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 24px 70px; }
  .nav-right { gap: 18px; }
  .badge { display: none; }
  .explore-section { padding: 40px 0 80px; }
  .search-bar { max-width: 100%; }
  .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .spec-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .sell-card { padding: 28px 22px; }
  .dash-grid { grid-template-columns: 1fr; }
  .saved-grid { grid-template-columns: 1fr; }
  .address-grid { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: 1fr; }
  .cart-item { flex-wrap: wrap; }
  .cart-line { width: 100%; text-align: left; padding-left: 80px; }
  .stat-grid, .tools-grid, .creator-grid { grid-template-columns: 1fr; }
  .listing-row { flex-wrap: wrap; }
  .listing-actions { width: 100%; }
  .filter-row { gap: 8px; }
  .filter-select { font-size: 0.82rem; padding: 9px 32px 9px 14px; }
  .gallery-main { font-size: 5rem; }
}

/* ===== POLISH SPRINT ADDITIONS ===== */

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; padding: 4px 8px; }

/* Notification bell */
.nav-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-elev); border: 1px solid var(--border); color: var(--text-muted); cursor: pointer; font-size: 1.05rem; transition: color 0.15s ease, border-color 0.15s ease; text-decoration: none; }
.nav-icon-btn:hover { color: var(--accent); border-color: rgba(0,229,255,0.4); }
.nav-icon-btn .dot { position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: #ff6b6b; border: 2px solid var(--bg); }

/* Notifications dropdown */
.notif-wrap { position: relative; }
.notif-dropdown { position: absolute; top: calc(100% + 10px); right: 0; width: 340px; max-height: 440px; overflow-y: auto; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.5); z-index: 60; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity 0.18s ease, transform 0.18s ease; }
.notif-dropdown.open { opacity: 1; pointer-events: auto; transform: none; }
.notif-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.notif-head strong { font-size: 0.95rem; }
.notif-head a { font-size: 0.8rem; color: var(--accent); text-decoration: none; }
.notif-item { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); transition: background 0.15s ease; }
.notif-item:hover { background: rgba(0,229,255,0.03); }
.notif-item:last-child { border-bottom: none; }
.notif-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.notif-body { flex: 1; min-width: 0; }
.notif-text { font-size: 0.86rem; line-height: 1.4; }
.notif-text strong { font-weight: 600; }
.notif-time { font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; }
.notif-empty { text-align: center; padding: 36px 18px; color: var(--text-muted); font-size: 0.9rem; }

/* Trust badges */
.trust-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.trust-badge.verified { color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(0,229,255,0.3); }
.trust-badge.founding { color: #c4a3ff; background: rgba(180,140,255,0.12); border: 1px solid rgba(180,140,255,0.3); }
.trust-badge.trusted { color: #34d399; background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.3); }
.trust-badge .tb-icon { font-size: 0.8rem; }

/* Product tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; text-decoration: none; transition: border-color 0.15s ease, color 0.15s ease; }
.tag:hover { border-color: rgba(0,229,255,0.4); color: var(--accent); }

/* Seller info card (product page) */
.seller-card { display: flex; align-items: center; gap: 18px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; flex-wrap: wrap; }
.seller-card .seller-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem; flex-shrink: 0; }
.seller-card .seller-detail { flex: 1; min-width: 180px; }
.seller-card .seller-detail .sname { font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.seller-card .seller-detail .smeta { color: var(--text-muted); font-size: 0.85rem; margin-top: 3px; }
.seller-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.seller-stat { text-align: center; }
.seller-stat .ss-val { font-size: 1.15rem; font-weight: 800; }
.seller-stat .ss-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* Upgraded footer */
.footer-rich { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 12px; display: inline-block; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 280px; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--text); font-size: 0.9rem; text-decoration: none; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-elev); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; text-decoration: none; color: var(--text-muted); transition: color 0.15s ease, border-color 0.15s ease; }
.footer-social a:hover { color: var(--accent); border-color: rgba(0,229,255,0.4); }

/* ===== Modal (report + generic) ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(5,5,10,0.7); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal { width: 100%; max-width: 460px; max-height: 85vh; overflow-y: auto; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,0.6); transform: translateY(12px); transition: transform 0.2s ease; }
.modal-overlay.open .modal { transform: none; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 24px 0; }
.modal-head h3 { font-size: 1.2rem; font-weight: 700; }
.modal-head p { color: var(--text-muted); font-size: 0.88rem; margin-top: 4px; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer; padding: 0 0 0 8px; line-height: 1; }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 18px 24px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 0 24px 22px; }
.report-options { display: flex; flex-direction: column; gap: 8px; }
.report-option { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.report-option:hover { border-color: rgba(0,229,255,0.3); background: rgba(0,229,255,0.02); }
.report-option input { margin-top: 3px; accent-color: var(--accent); }
.report-option .ro-text { flex: 1; }
.report-option .ro-title { font-size: 0.92rem; font-weight: 600; }
.report-option .ro-desc { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.modal-textarea { width: 100%; font-family: inherit; font-size: 0.92rem; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; resize: vertical; min-height: 90px; margin-top: 14px; }
.modal-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.btn-ghost { font-family: inherit; font-size: 0.92rem; font-weight: 600; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); cursor: pointer; }
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }
.btn-danger { font-family: inherit; font-size: 0.92rem; font-weight: 600; padding: 12px 20px; border-radius: 10px; border: none; background: #ff6b6b; color: #fff; cursor: pointer; }
.btn-danger:hover { background: #ee5a5a; }

/* ===== Admin dashboard ===== */
.admin-main { padding: 32px 24px 96px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.admin-head h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; gap: 12px; }
.admin-head .admin-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #c4a3ff; background: rgba(180,140,255,0.12); border: 1px solid rgba(180,140,255,0.3); padding: 4px 10px; border-radius: 999px; }
.admin-head .admin-sub { color: var(--text-muted); font-size: 0.92rem; margin-top: 4px; }

.admin-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.admin-kpi { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.admin-kpi .kpi-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.admin-kpi .kpi-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: var(--accent-dim); color: var(--accent); }
.admin-kpi .kpi-icon.purple { background: rgba(180,140,255,0.12); color: #c4a3ff; }
.admin-kpi .kpi-icon.green { background: rgba(52,211,153,0.12); color: #34d399; }
.admin-kpi .kpi-icon.yellow { background: rgba(251,191,36,0.12); color: #fbbf24; }
.admin-kpi .kpi-icon.red { background: rgba(255,107,107,0.12); color: #ff6b6b; }
.admin-kpi .kpi-label { font-size: 0.76rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.admin-kpi .kpi-value { font-size: 1.7rem; font-weight: 800; line-height: 1; }
.admin-kpi .kpi-delta { font-size: 0.78rem; margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.admin-kpi .kpi-delta.up { color: #34d399; }
.admin-kpi .kpi-delta.down { color: #ff6b6b; }

.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.admin-grid .full { grid-column: 1 / -1; }

/* Line chart (CSS bars approach) */
.line-chart { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding: 12px 0 28px; position: relative; }
.line-chart .lc-bar { flex: 1; background: linear-gradient(180deg, var(--accent), rgba(0,229,255,0.15)); border-radius: 5px 5px 0 0; min-height: 6px; position: relative; opacity: 0.85; transition: opacity 0.15s ease; }
.line-chart .lc-bar:hover { opacity: 1; }
.line-chart .lc-bar span { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 0.66rem; color: var(--text-muted); }
.line-chart .lc-bar.peak { background: linear-gradient(180deg, #c4a3ff, rgba(180,140,255,0.15)); opacity: 1; }
.chart-legend { display: flex; gap: 16px; margin-top: 8px; font-size: 0.8rem; color: var(--text-muted); }
.chart-legend .leg-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: middle; }

/* Admin table */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); padding: 10px 12px; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 12px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .t-name { font-weight: 600; }
.admin-table .t-muted { color: var(--text-muted); }
.admin-table .t-num { font-weight: 700; text-align: right; }

/* Donut / split bar (commission split) */
.split-bar { height: 12px; border-radius: 999px; overflow: hidden; display: flex; background: var(--bg); margin: 10px 0; }
.split-bar .sb-sellers { background: var(--accent); }
.split-bar .sb-commission { background: #c4a3ff; }
.split-legend { display: flex; gap: 20px; font-size: 0.85rem; }
.split-legend .sl-item { display: flex; align-items: center; gap: 6px; }
.split-legend .sl-dot { width: 10px; height: 10px; border-radius: 3px; }

/* Moderation overview */
.mod-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mod-row:last-child { border-bottom: none; }
.mod-row .mod-label { font-size: 0.92rem; }
.mod-row .mod-count { font-weight: 700; font-size: 0.95rem; }
.mod-row .mod-count.warn { color: #fbbf24; }
.mod-row .mod-count.danger { color: #ff6b6b; }

/* Mini avatar in tables */
.mini-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; vertical-align: middle; margin-right: 8px; }

/* Rank badge for top sellers */
.rank { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: 0.78rem; font-weight: 800; background: var(--bg); border: 1px solid var(--border); color: var(--text-muted); }
.rank.r1 { background: rgba(255,215,0,0.15); border-color: rgba(255,215,0,0.4); color: #ffd700; }
.rank.r2 { background: rgba(192,192,192,0.15); border-color: rgba(192,192,192,0.4); color: #d0d0d0; }
.rank.r3 { background: rgba(205,127,50,0.15); border-color: rgba(205,127,50,0.4); color: #cd7f32; }

/* ===== Launch page ===== */
.launch-hero { text-align: center; padding: 100px 24px 60px; position: relative; overflow: hidden; }
.launch-countdown { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 36px 0; }
.cd-box { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 28px; min-width: 90px; text-align: center; }
.cd-box .cd-num { font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1; }
.cd-box .cd-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 8px; }
.launch-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.launch-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.launch-perk { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.launch-perk .lp-icon { font-size: 2rem; margin-bottom: 12px; }
.launch-perk h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.launch-perk p { color: var(--text-muted); font-size: 0.88rem; }
.launch-cta { background: linear-gradient(135deg, rgba(0,229,255,0.1), rgba(0,229,255,0.02)); border: 1px solid rgba(0,229,255,0.3); border-radius: var(--radius); padding: 40px; text-align: center; margin-top: 48px; }
.launch-cta h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.launch-cta p { color: var(--text-muted); margin-bottom: 24px; }

/* ===== Dashboard enhancements ===== */
.notif-list { display: flex; flex-direction: column; }
.notif-list .nl-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.notif-list .nl-item:last-child { border-bottom: none; }
.nl-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.nl-body { flex: 1; }
.nl-text { font-size: 0.9rem; line-height: 1.4; }
.nl-time { font-size: 0.76rem; color: var(--text-muted); margin-top: 2px; }

/* Mini stat chips for listing rows */
.listing-stats { display: flex; gap: 14px; margin-top: 4px; }
.listing-stats .ls { font-size: 0.76rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

/* Activity feed */
.activity-feed { display: flex; flex-direction: column; }
.activity-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.activity-item:last-child { border-bottom: none; }
.activity-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.activity-text { font-size: 0.88rem; line-height: 1.4; }
.activity-text strong { font-weight: 600; }
.activity-time { font-size: 0.74rem; color: var(--text-muted); margin-top: 2px; }

/* Pill nav for dashboard sub-sections */
.pill-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.pill-nav .pill { font-family: inherit; font-size: 0.82rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text-muted); cursor: pointer; transition: all 0.15s ease; }
.pill-nav .pill:hover { color: var(--text); }
.pill-nav .pill.active { background: var(--accent); border-color: var(--accent); color: #001318; }

/* Contact / privacy / terms prose */
.legal-main { padding: 32px 24px 96px; }
.legal-card { max-width: 760px; margin: 0 auto; }
.legal-section { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 30px; margin-bottom: 20px; }
.legal-section h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.legal-section p, .legal-section li { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 10px; line-height: 1.7; }
.legal-section ul { padding-left: 20px; }
.legal-section p strong, .legal-section li strong { color: var(--text); }
.legal-toc { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; margin-bottom: 24px; }
.legal-toc h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 10px; }
.legal-toc ol { padding-left: 20px; }
.legal-toc li { font-size: 0.9rem; margin-bottom: 5px; }
.legal-toc a { color: var(--accent); text-decoration: none; }

/* Contact form extras */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.contact-info { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.contact-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.contact-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.contact-info .ci-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.contact-info .ci-row:last-child { border-bottom: none; }
.contact-info .ci-icon { font-size: 1.1rem; }

/* Responsive — polish sprint */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
  .launch-perks { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .seller-stats { gap: 16px; }
  .dash-card { overflow-x: auto; }
  .admin-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .nav-right { display: none; }
  .nav-toggle { display: block; }
  .nav-right.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--bg-elev); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 4px; z-index: 49; }
  .nav-right.open .nav-link { padding: 10px 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .admin-kpi-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .launch-countdown { gap: 10px; }
  .cd-box { min-width: 70px; padding: 14px 18px; }
  .cd-box .cd-num { font-size: 1.8rem; }
  .admin-table { font-size: 0.82rem; }
  .admin-table th, .admin-table td { padding: 8px 6px; }
  .notif-dropdown { width: calc(100vw - 32px); right: -8px; }
  .dash-top { flex-direction: column; align-items: flex-start; }
  .dash-top > div:last-child { width: 100%; }
  .seller-card { flex-direction: column; text-align: center; align-items: center; }
  .seller-stats { justify-content: center; }
  .launch-actions { flex-direction: column; width: 100%; }
  .launch-actions .btn, .launch-actions .btn-cart { width: 100%; }
  .spec-list { grid-template-columns: 1fr 1fr; }
  .kpi-value { font-size: 1.4rem !important; }
  .feature-card { padding: 24px 20px; }
}
