/* ═══════════════════════════════════════════
   MyStore — Main Stylesheet
   Mobile-first, eye-catching, warm theme
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --accent: #f59e0b;
  --accent2: #ec4899;
  --green: #10b981;
  --red: #ef4444;
  --bg: #f8f7ff;
  --white: #ffffff;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #1f2937;
  --muted: #6b7280;
  --light: #f3f4f6;
  --shadow: 0 4px 20px rgba(124,58,237,.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --r: 14px;
  --r-sm: 8px;
  --font: 'Nunito', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: var(--r-sm);
  font-weight: 700; font-size: 14px; cursor: pointer;
  border: none; transition: all .25s; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; box-shadow: 0 4px 14px rgba(124,58,237,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124,58,237,.45); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #fff; box-shadow: 0 4px 14px rgba(245,158,11,.3);
}
.btn-accent:hover { transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--red); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── TOPBAR ── */
#topbar {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: rgba(255,255,255,.9); font-size: 12px; font-weight: 600;
  text-align: center; padding: 7px 16px;
  letter-spacing: .4px;
}

/* ── HEADER ── */
#header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 200;
}
.header-inner {
  display: flex; align-items: center;
  padding: 12px 16px; gap: 12px;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.search-wrap {
  flex: 1;
  display: flex; align-items: center;
  background: var(--light); border-radius: 30px;
  padding: 0 16px; gap: 8px;
  border: 2px solid transparent; transition: border-color .2s;
  max-width: 480px;
}
.search-wrap:focus-within { border-color: var(--primary-light); background: #fff; }
.search-wrap input {
  border: none; background: none; flex: 1;
  padding: 9px 0; font-size: 14px; outline: none; color: var(--text);
}
.search-wrap button {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 18px; padding: 4px;
  transition: color .2s;
}
.search-wrap button:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--light); border: none; cursor: pointer;
  font-size: 18px; position: relative; transition: all .2s;
  text-decoration: none; color: var(--text);
}
.icon-btn:hover { background: var(--primary); color: #fff; }
.badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--accent2); color: #fff;
  font-size: 10px; font-weight: 800;
  min-width: 17px; height: 17px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}

/* ── NAV ── */
#nav {
  background: var(--white);
  border-top: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
#nav::-webkit-scrollbar { display: none; }
.nav-inner {
  display: flex; padding: 0 16px; gap: 4px;
  min-width: max-content;
}
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: 13px; font-weight: 600;
  color: var(--muted); border-bottom: 3px solid transparent;
  transition: all .2s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary); border-bottom-color: var(--primary);
}

/* ── HERO BANNER ── */
.hero {
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 40%, #a855f7 70%, #ec4899 100%);
  padding: 40px 16px 48px;
  text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 700; margin-bottom: 12px; line-height: 1.2;
}
.hero p { font-size: clamp(14px, 2.5vw, 18px); opacity: .9; margin-bottom: 24px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.2); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 30px; padding: 6px 16px;
  font-size: 12px; font-weight: 700; margin-bottom: 16px;
  letter-spacing: .5px;
}

/* ── SECTION ── */
.section { padding: 32px 0; }
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px; font-weight: 700;
  margin-bottom: 4px;
}
.section-sub { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.section-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }

/* ── CATEGORY CHIPS ── */
.cat-scroll { overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; }
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-chips { display: flex; gap: 10px; padding-bottom: 4px; min-width: max-content; }
.cat-chip {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 16px; border-radius: 14px;
  background: var(--white); border: 2px solid var(--border);
  cursor: pointer; transition: all .2s; font-size: 12px; font-weight: 700;
  color: var(--muted); min-width: 72px; text-align: center;
}
.cat-chip .cat-icon { font-size: 24px; }
.cat-chip:hover, .cat-chip.active {
  border-color: var(--primary); color: var(--primary);
  background: rgba(124,58,237,.06);
  transform: translateY(-2px);
}

/* ── PRODUCT GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 480px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .products-grid { grid-template-columns: repeat(5, 1fr); } }

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  position: relative;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-img-wrap {
  position: relative; padding-top: 100%;
  background: var(--light); overflow: hidden;
}
.card-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .4s;
}
.product-card:hover .card-img { transform: scale(1.06); }
.card-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--border);
}
.card-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }
.card-badge {
  font-size: 10px; font-weight: 800; padding: 3px 8px;
  border-radius: 6px; display: inline-block;
}
.badge-ai { background: #7c3aed; color: #fff; }
.badge-bid { background: #f59e0b; color: #fff; }
.badge-featured { background: #ec4899; color: #fff; }
.badge-sold { background: var(--muted); color: #fff; }
.card-wish {
  position: absolute; top: 8px; right: 8px;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; border: none;
  transition: all .2s; color: var(--muted);
}
.card-wish:hover, .card-wish.wished { color: var(--accent2); background: #fff; }
.card-body {
  padding: 10px 12px 14px;
  display: flex; flex-direction: column; flex: 1;
}
.card-cat { font-size: 10px; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; }
.card-name {
  font-size: 13px; font-weight: 700; line-height: 1.4;
  margin-bottom: 6px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; }
.card-price {
  font-size: 16px; font-weight: 800;
  color: var(--primary);
}
.card-ai-price {
  font-size: 10px; color: var(--muted);
  display: flex; align-items: center; gap: 3px;
}
.ai-tag { background: rgba(124,58,237,.12); color: var(--primary); padding: 1px 5px; border-radius: 4px; font-weight: 700; font-size: 9px; }
.card-bid-price { font-size: 11px; color: var(--accent); font-weight: 700; }
.card-add-btn {
  margin-top: 10px; width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border: none; border-radius: var(--r-sm);
  padding: 9px; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.card-add-btn:hover { opacity: .85; }

/* ── PRODUCT DETAIL ── */
.product-detail { padding: 20px 0 40px; }
.detail-gallery { position: relative; margin-bottom: 16px; }
.detail-main-img {
  width: 100%; border-radius: var(--r);
  aspect-ratio: 1; object-fit: cover; background: var(--light);
}
.detail-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-top: 10px; scrollbar-width: none; }
.detail-thumbs::-webkit-scrollbar { display: none; }
.detail-thumb {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 8px; object-fit: cover;
  border: 3px solid transparent; cursor: pointer; transition: border-color .2s;
}
.detail-thumb.active { border-color: var(--primary); }
.detail-info {}
.detail-cat { font-size: 12px; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; }
.detail-name { font-family: 'Poppins', sans-serif; font-size: clamp(18px,4vw,28px); font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.detail-price-box {
  background: linear-gradient(135deg, rgba(124,58,237,.06), rgba(236,72,153,.04));
  border: 1px solid rgba(124,58,237,.15);
  border-radius: var(--r); padding: 16px; margin-bottom: 16px;
}
.detail-price { font-size: 28px; font-weight: 800; color: var(--primary); }
.detail-ai-label {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--muted); margin-top: 4px;
}
.detail-ai-label .ai-tag { font-size: 10px; }
.bid-box {
  background: linear-gradient(135deg, rgba(245,158,11,.06), rgba(249,115,22,.04));
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--r); padding: 16px; margin-bottom: 16px;
}
.bid-title { font-weight: 700; color: var(--accent); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; font-size: 15px; }
.bid-current { font-size: 22px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.bid-form { display: flex; gap: 8px; margin-top: 10px; }
.bid-form input {
  flex: 1; border: 2px solid var(--border); border-radius: 8px;
  padding: 10px 14px; font-size: 14px; outline: none;
  transition: border-color .2s;
}
.bid-form input:focus { border-color: var(--accent); }
.bid-history { margin-top: 12px; font-size: 12px; color: var(--muted); }
.detail-desc { font-size: 14px; line-height: 1.8; color: #4b5563; margin-bottom: 20px; }
.detail-actions { display: flex; flex-direction: column; gap: 10px; }
.qty-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.qty-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--light); border: none; font-size: 18px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-weight: 700; transition: background .2s;
}
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-val { font-size: 18px; font-weight: 700; min-width: 32px; text-align: center; }

/* ── STARS ── */
.stars { display: inline-flex; gap: 2px; }
.star { font-size: 16px; color: #d1d5db; }
.star.filled { color: #f59e0b; }

/* ── CART ── */
.cart-page { padding: 20px 0 40px; }
.cart-item {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border); padding: 14px;
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 12px;
}
.cart-item-img {
  width: 80px; height: 80px; object-fit: cover;
  border-radius: 10px; flex-shrink: 0; background: var(--light);
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; margin-bottom: 4px; font-size: 14px; }
.cart-item-price { color: var(--primary); font-weight: 800; font-size: 15px; }
.cart-summary {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border); padding: 20px;
}
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-row.total { font-weight: 800; font-size: 17px; border-top: 2px solid var(--border); margin-top: 4px; padding-top: 14px; }

/* ── CHECKOUT ── */
.checkout-form {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border); padding: 24px;
}
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.form-control {
  width: 100%; border: 2px solid var(--border);
  border-radius: 8px; padding: 11px 14px;
  font-size: 14px; outline: none; transition: border-color .2s;
  background: var(--bg); color: var(--text);
}
.form-control:focus { border-color: var(--primary); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ── COD BOX ── */
.payment-box {
  border: 2px solid var(--green); border-radius: var(--r);
  padding: 16px; display: flex; align-items: center; gap: 14px;
  background: rgba(16,185,129,.05);
}
.payment-icon { font-size: 32px; }
.payment-info strong { display: block; font-size: 15px; color: var(--green); margin-bottom: 2px; }
.payment-info p { font-size: 13px; color: var(--muted); }

/* ── ORDER SUCCESS ── */
.order-success {
  text-align: center; padding: 60px 20px;
  max-width: 480px; margin: 0 auto;
}
.success-icon { font-size: 72px; margin-bottom: 16px; }
.order-success h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.order-no {
  background: var(--light); border-radius: 10px;
  padding: 12px 20px; display: inline-block;
  font-size: 18px; font-weight: 800; color: var(--primary);
  margin: 16px 0;
}

/* ── AUTH ── */
.auth-page {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  padding: 32px 16px;
}
.auth-box {
  background: var(--white); border-radius: 20px;
  border: 1px solid var(--border);
  padding: clamp(24px, 5vw, 40px);
  width: 100%; max-width: 420px;
  box-shadow: var(--shadow);
}
.auth-title { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.auth-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; }
.link { color: var(--primary); font-weight: 700; cursor: pointer; }
.divider { height: 1px; background: var(--border); margin: 20px 0; position: relative; }
.divider::after { content: 'or'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #fff; padding: 0 10px; color: var(--muted); font-size: 12px; }

/* ── ALERTS ── */
.alert {
  padding: 12px 16px; border-radius: 8px; margin-bottom: 16px;
  font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.alert-success { background: rgba(16,185,129,.1); color: #065f46; border: 1px solid rgba(16,185,129,.2); }
.alert-danger { background: rgba(239,68,68,.08); color: #991b1b; border: 1px solid rgba(239,68,68,.15); }
.alert-info { background: rgba(124,58,237,.08); color: var(--primary-dark); border: 1px solid rgba(124,58,237,.15); }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 14px 0 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb span { color: var(--border); }

/* ── PAGINATION ── */
.pagination { display: flex; gap: 6px; justify-content: center; padding: 24px 0; flex-wrap: wrap; }
.page-btn {
  width: 36px; height: 36px; border-radius: 8px;
  border: 2px solid var(--border); background: var(--white);
  font-weight: 700; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; color: var(--text);
}
.page-btn.active, .page-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── MOBILE BOTTOM NAV ── */
#mobile-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  z-index: 300;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
@media (max-width: 767px) { #mobile-nav { display: flex; } body { padding-bottom: 64px; } }
.mob-nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 10px 4px; font-size: 10px; font-weight: 700;
  color: var(--muted); cursor: pointer; position: relative;
  text-decoration: none; transition: color .2s;
}
.mob-nav-item.active, .mob-nav-item:hover { color: var(--primary); }
.mob-nav-icon { font-size: 22px; margin-bottom: 2px; }

/* ── FOOTER ── */
footer {
  background: #1f2937; color: rgba(255,255,255,.8);
  padding: 40px 16px 24px; margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px; margin-bottom: 28px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer-h { font-size: 13px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: 12px; color: rgba(255,255,255,.4); }

/* ── TOAST ── */
#toast-container {
  position: fixed; bottom: 80px; right: 16px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}
@media (min-width: 768px) { #toast-container { bottom: 24px; } }
.toast {
  background: #1f2937; color: #fff;
  padding: 12px 18px; border-radius: 10px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transform: translateX(120%); transition: transform .3s ease;
  display: flex; align-items: center; gap: 8px;
  max-width: 280px;
}
.toast.show { transform: translateX(0); }
.toast-success { border-left: 4px solid var(--green); }
.toast-error { border-left: 4px solid var(--red); }

/* ── LOADING ── */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,.85); backdrop-filter: blur(4px);
  z-index: 9999; display: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px;
}
.loading-overlay.show { display: flex; }
.spinner {
  width: 44px; height: 44px; border-radius: 50%;
  border: 4px solid rgba(124,58,237,.2);
  border-top-color: var(--primary);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--muted);
}
.empty-state .empty-icon { font-size: 64px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.empty-state p { font-size: 14px; line-height: 1.7; max-width: 300px; margin: 0 auto 20px; }

/* ── ACCOUNT ── */
.account-sidebar {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border); padding: 20px; height: fit-content;
}
.account-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; font-weight: 800; margin: 0 auto 12px;
}
.sidebar-links { list-style: none; margin-top: 16px; }
.sidebar-links a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: all .2s; text-decoration: none;
}
.sidebar-links a:hover, .sidebar-links a.active { background: rgba(124,58,237,.08); color: var(--primary); }
.account-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 20px; align-items: start;
}
@media (min-width: 768px) { .account-grid { grid-template-columns: 200px 1fr; } }

/* ── UPLOAD ZONE ── */
.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--r);
  padding: 32px; text-align: center; cursor: pointer;
  transition: all .25s; background: var(--bg);
  position: relative;
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--primary); background: rgba(124,58,237,.04); }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-zone .upload-icon-big { font-size: 40px; margin-bottom: 10px; }
.upload-zone p { font-size: 13px; color: var(--muted); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }
