/* ============================================
   BAMENDA MARKET LINK — COMPLETE STYLESHEET
   v3 — #0B6B50 rebrand, refined tokens,
        media carousel + share-profile classes
   ============================================ */

/* ============ RESET & TOKENS ============ */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  /* Brand */
  --green: #0B6B50;
  --green-dark: #08523D;
  --green-darker: #063D2E;
  --green-light: #E6F2EC;
  --green-tint: #F0F7F3;

  --amber: #F5A623;
  --amber-dark: #D48806;

  --red: #DC2626;
  --red-light: #FEF2F2;

  /* Neutrals */
  --ink: #101512;
  --ink-2: #1F2937;
  --muted: #6B7280;
  --muted-2: #9CA3AF;
  --border: #E6EAE8;
  --border-2: #F0F2F1;
  --surface: #FFFFFF;
  --bg: #F6F8F7;

  /* Shape */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);

  /* Type */
  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

/* ============ LAYOUT ============ */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.4px; color: var(--ink); }
.section-sub { color: var(--muted); margin-bottom: 28px; font-size: 0.95rem; }

/* ============ NAVBAR (standard 3-link) ============ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: grid; place-items: center; color: #fff; font-size: 1rem;
  box-shadow: 0 3px 10px rgba(11,107,80,0.25);
}
.logo span { color: var(--green); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px;
  font-weight: 600; font-size: 0.9rem; color: var(--muted);
  transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); background: var(--green-light); }
.nav-cta {
  background: var(--green); color: #fff !important;
  padding: 9px 18px !important; border-radius: 10px !important;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(11,107,80,0.2);
}
.nav-cta:hover { background: var(--green-dark) !important; }
.hamburger { display: none; font-size: 1.6rem; color: var(--ink); padding: 4px; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--green-darker) 0%, var(--green) 60%, #108a63 100%);
  color: #fff; padding: 76px 0 96px;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.32), transparent 70%);
}
.hero::before { width: 520px; height: 520px; top: -200px; right: -140px; }
.hero::after {
  width: 420px; height: 420px; bottom: -220px; left: -120px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: 0.8rem; font-weight: 600; margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6EE7A0;
  box-shadow: 0 0 0 4px rgba(110,231,160,0.28);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(110,231,160,0.1); } }
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.1; font-weight: 900;
  letter-spacing: -1px; margin-bottom: 16px;
}
.hero h1 em { color: var(--amber); font-style: normal; }
.hero p { font-size: 1.02rem; opacity: 0.92; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.94rem;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--amber); color: #1a1a1a; box-shadow: 0 6px 18px rgba(245,166,35,0.35); }
.btn-primary:hover { background: var(--amber-dark); }
.btn-ghost {
  background: rgba(255,255,255,0.14); color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); }

.hero-cards { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); z-index: 1; display: none; }
@media(min-width: 900px) { .hero-cards { display: block; } }
.float-card {
  background: #fff; color: var(--ink); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 14px;
  animation: floaty 4s ease-in-out infinite;
}
.float-card:nth-child(2) { animation-delay: 1.2s; margin-left: -40px; }
.float-card:nth-child(3) { animation-delay: 2.4s; }
.float-card .fc-ico {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-size: 1rem;
  background: var(--green-light);
}
@keyframes floaty { 50% { transform: translateY(-10px); } }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 44px; max-width: 560px;
}
.stat {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px; padding: 16px;
  backdrop-filter: blur(6px);
}
.stat b { display: block; font-size: 1.5rem; font-weight: 900; }
.stat small { opacity: 0.85; font-size: 0.78rem; }

/* ============ CATEGORIES ============ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.cat-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 22px 14px; text-align: center;
  box-shadow: var(--shadow); transition: all 0.2s;
  border: 1px solid var(--border);
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}
.cat-ico {
  width: 54px; height: 54px; border-radius: 14px;
  margin: 0 auto 12px; display: grid; place-items: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--green-light), #D4F0E0);
}
.cat-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.cat-card small { color: var(--muted); font-size: 0.75rem; }

/* ============ VENDOR CARDS (fallback) ============ */
.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.vendor-card {
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: all 0.25s; display: flex; flex-direction: column;
  border: 1px solid var(--border);
}
.vendor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vendor-cover {
  height: 130px; position: relative;
  display: grid; place-items: center; font-size: 3rem;
  background: linear-gradient(135deg, var(--green), #108a63);
}
.vendor-cover.c2 { background: linear-gradient(135deg, var(--amber), var(--amber-dark)); }
.vendor-cover.c3 { background: linear-gradient(135deg, #7C3AED, #A855F7); }
.vendor-cover.c4 { background: linear-gradient(135deg, #0891B2, #06B6D4); }
.vendor-cover.c5 { background: linear-gradient(135deg, var(--red), #F87171); }
.vendor-cover.c6 { background: linear-gradient(135deg, #CA8A04, #EAB308); }
.vendor-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,0.96);
  color: var(--green);
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; border-radius: var(--radius-pill);
  display: flex; align-items: center; gap: 4px;
}
.vendor-badge.verified::before { content: '✓'; font-weight: 900; }
.vendor-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.vendor-body h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 2px; }
.vendor-meta { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.vendor-rating { display: flex; align-items: center; gap: 4px; font-size: 0.82rem; font-weight: 700; color: var(--amber-dark); margin-bottom: 12px; }
.vendor-rating small { color: var(--muted); font-weight: 400; }
.vendor-body .btn-wa {
  margin-top: auto; width: 100%; justify-content: center;
  background: #25D366; color: #fff;
  padding: 10px; border-radius: 10px;
  font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; gap: 8px;
  transition: background 0.15s;
}
.vendor-body .btn-wa:hover { background: #1EBE5B; }

/* ============ FILTER BAR ============ */
.filter-bar {
  background: var(--surface); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow);
  margin-bottom: 24px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  border: 1px solid var(--border);
}
.filter-bar input, .filter-bar select {
  padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 0.9rem; font-family: inherit;
  flex: 1; min-width: 160px;
  background: var(--surface);
  transition: border 0.15s, box-shadow 0.15s;
  color: var(--ink);
}
.filter-bar input:focus, .filter-bar select:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(11,107,80,0.1);
}
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  padding: 7px 14px; border-radius: var(--radius-pill);
  font-size: 0.82rem; font-weight: 600;
  background: var(--surface); color: var(--muted);
  border: 1.5px solid var(--border);
  transition: all 0.15s;
}
.chip.active, .chip:hover {
  background: var(--green); color: #fff; border-color: var(--green);
}

/* ============ HOW IT WORKS / STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step { position: relative; }
.step-num {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; font-weight: 900; font-size: 1.25rem;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(11,107,80,0.25);
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--ink); }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ============ TRUST ============ */
.trust-section { background: linear-gradient(160deg, var(--green-darker), var(--green)); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.trust-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); padding: 24px;
  backdrop-filter: blur(8px);
}
.trust-card .ico { font-size: 2rem; margin-bottom: 12px; }
.trust-card h3 { margin-bottom: 6px; }
.trust-card p { font-size: 0.88rem; opacity: 0.88; }

/* ============ PROFILE (legacy) ============ */
.profile-hero {
  background: linear-gradient(135deg, var(--green), #108a63);
  color: #fff; padding: 48px 0;
  position: relative; overflow: hidden;
}
.profile-hero::after {
  content: '🛍️'; position: absolute; font-size: 18rem;
  right: -30px; bottom: -60px; opacity: 0.1; transform: rotate(-15deg);
}
.profile-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.profile-avatar {
  width: 90px; height: 90px; border-radius: 24px;
  background: #fff; display: grid; place-items: center;
  font-size: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  flex-shrink: 0; overflow: hidden;
}
.profile-head h1 { font-size: 1.8rem; margin-bottom: 4px; }
.profile-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.profile-tag {
  background: rgba(255,255,255,0.2);
  padding: 4px 12px; border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 600;
}
.profile-layout { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: -30px; position: relative; z-index: 2; }
@media(min-width: 860px) { .profile-layout { grid-template-columns: 2fr 1fr; } }

/* ============ CARDS & PRODUCTS (legacy classes) ============ */
.card {
  background: var(--surface); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card h2 { font-size: 1.1rem; margin-bottom: 14px; color: var(--ink); font-weight: 800; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.product {
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--bg); border: 1px solid var(--border-2);
  transition: transform 0.15s;
}
.product:hover { transform: translateY(-3px); }
.product-img {
  height: 100px; display: grid; place-items: center;
  font-size: 2.4rem; background: linear-gradient(135deg, var(--green-light), #D4F0E0);
  overflow: hidden;
}
.product-img.c2 { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.product-img.c3 { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.product-img.c4 { background: linear-gradient(135deg, #CFFAFE, #A5F3FC); }
.product p { font-size: 0.78rem; padding: 8px; font-weight: 600; }
.product small { display: block; color: var(--green); font-weight: 700; font-size: 0.75rem; padding: 0 8px 8px; }

/* ============ REVIEWS ============ */
.review { border-bottom: 1px solid var(--border-2); padding: 16px 0; }
.review:last-child { border: none; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 0.85rem;
}
.review-name { font-weight: 700; font-size: 0.9rem; }
.review-stars { color: var(--amber); font-size: 0.85rem; }
.review p { font-size: 0.88rem; color: var(--muted); }

/* ============ SIDEBAR (public vendor page) ============ */
.sticky-wa { position: sticky; top: 84px; }
.wa-big {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366; color: #fff;
  padding: 16px; border-radius: 14px;
  font-weight: 800; font-size: 1rem;
  width: 100%; margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
  transition: transform 0.12s;
}
.wa-big:hover { transform: scale(1.01); }
.info-line {
  display: flex; gap: 10px; padding: 10px 0;
  font-size: 0.88rem; border-bottom: 1px solid var(--border-2);
}
.info-line:last-child { border: none; }
.info-line .k { color: var(--muted); min-width: 90px; }
.info-line .v { font-weight: 600; }

/* ============ FORMS ============ */
.form-card { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-weight: 700;
  font-size: 0.86rem; margin-bottom: 6px; color: var(--ink);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 0.92rem; background: var(--surface);
  transition: border 0.15s, box-shadow 0.15s;
  color: var(--ink);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(11,107,80,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media(max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

/* ============ FOOTER ============ */
.footer {
  background: #062618; color: #C9D6CD;
  padding: 48px 0 24px; margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; margin-bottom: 28px; }
.footer h4 { color: #fff; font-size: 0.92rem; margin-bottom: 12px; font-weight: 700; }
.footer a {
  display: block; font-size: 0.85rem; padding: 4px 0;
  opacity: 0.8; transition: opacity 0.15s, color 0.15s;
}
.footer a:hover { opacity: 1; color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px; font-size: 0.8rem;
  text-align: center; opacity: 0.7;
}

/* ============ ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s, transform 0.55s; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE (base) ============ */
@media(max-width: 820px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; padding: 16px;
    box-shadow: var(--shadow-lg); gap: 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open a { width: 100%; }
  .hamburger { display: block; }
  .section { padding: 40px 0; }
  .hero { padding: 52px 0 68px; }
  .stat b { font-size: 1.2rem; }
}

/* ============================================
   ALIBABA-STYLE PRODUCT GRID
   ============================================ */
.ali-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
@media(min-width: 1100px) { .ali-grid { grid-template-columns: repeat(4, 1fr); } }
@media(max-width: 640px) { .ali-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.ali-card {
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  transition: all 0.2s;
  cursor: pointer;
  display: flex; flex-direction: column;
  color: inherit; text-decoration: none;
}
.ali-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.ali-card-img {
  position: relative; aspect-ratio: 1 / 1;
  background: var(--bg); overflow: hidden;
  display: grid; place-items: center; font-size: 4rem;
}
.ali-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.ali-card:hover .ali-card-img img { transform: scale(1.05); }
.ali-verified-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--green); color: #fff;
  padding: 3px 10px; border-radius: 4px;
  font-size: 0.68rem; font-weight: 700;
  display: flex; align-items: center; gap: 3px;
  letter-spacing: 0.3px;
}
.ali-card-body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.ali-card-name {
  font-size: 0.92rem; font-weight: 700;
  color: var(--ink); line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.6em;
}
.ali-card-meta {
  font-size: 0.75rem; color: var(--muted);
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 8px;
}
.ali-card-price { font-size: 1.05rem; font-weight: 800; color: var(--red); margin-bottom: 4px; }
.ali-card-price small { font-size: 0.7rem; color: var(--muted); font-weight: 500; margin-left: 4px; }
.ali-card-rating { display: flex; align-items: center; gap: 4px; font-size: 0.78rem; color: var(--amber); font-weight: 600; margin-bottom: 10px; }
.ali-card-rating small { color: var(--muted); font-weight: 400; }
.ali-card-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--green); color: #fff;
  padding: 9px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.82rem;
  transition: background 0.15s;
}
.ali-card-btn:hover { background: var(--green-dark); }
.ali-card-btn.wa { background: #25D366; }
.ali-card-btn.wa:hover { background: #1EBE5B; }

/* ============================================
   ALIBABA-STYLE DETAIL PAGE
   ============================================ */
.ali-detail {
  display: grid; grid-template-columns: 1fr;
  gap: 24px; background: var(--surface);
  border-radius: var(--radius);
  padding: 22px; margin-bottom: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
@media(min-width: 900px) { .ali-detail { grid-template-columns: 400px 1fr; } }
.ali-detail-gallery {
  position: relative; aspect-ratio: 1;
  background: var(--bg); border-radius: var(--radius-sm);
  overflow: hidden; display: grid; place-items: center;
  font-size: 6rem;
}
.ali-detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
.ali-detail-info h1 {
  font-size: 1.5rem; font-weight: 800;
  margin-bottom: 8px; line-height: 1.25;
}
.ali-detail-loc {
  color: var(--muted); font-size: 0.88rem;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 4px;
}
.ali-detail-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 20px;
  padding: 14px; background: var(--green-tint);
  border-radius: 10px;
}
.ali-detail-stats div { text-align: center; }
.ali-detail-stats b { display: block; font-size: 1.15rem; color: var(--green); font-weight: 800; }
.ali-detail-stats small { font-size: 0.72rem; color: var(--muted); }
.ali-detail-bio {
  color: var(--ink-2); font-size: 0.9rem;
  line-height: 1.65; margin-bottom: 20px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border-2);
}
.ali-detail-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.ali-detail-cta a, .ali-detail-cta button {
  flex: 1; min-width: 140px;
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 14px; border-radius: var(--radius-sm);
  font-weight: 800; font-size: 0.92rem;
  transition: background 0.15s;
}
.ali-detail-cta .wa { background: #25D366; color: #fff; }
.ali-detail-cta .wa:hover { background: #1EBE5B; }
.ali-detail-cta .call { background: var(--surface); color: var(--green); border: 1.5px solid var(--green); }
.ali-detail-cta .call:hover { background: var(--green-light); }

/* ============================================
   ALIBABA-STYLE PRODUCT GRID (inside detail)
   ============================================ */
.ali-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
@media(max-width: 640px) { .ali-product-grid { grid-template-columns: repeat(2, 1fr); } }
.ali-product {
  background: var(--surface); border-radius: var(--radius-sm);
  overflow: hidden; border: 1px solid var(--border);
  transition: all 0.2s; cursor: pointer;
}
.ali-product:hover { border-color: var(--green); box-shadow: var(--shadow-md); }
.ali-product-img {
  aspect-ratio: 1; background: var(--bg);
  display: grid; place-items: center;
  font-size: 3rem; overflow: hidden;
  position: relative;
}
.ali-product-img img { width: 100%; height: 100%; object-fit: cover; }
.ali-product-body { padding: 10px; }
.ali-product-body p {
  font-size: 0.82rem; font-weight: 600;
  color: var(--ink); margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.4em;
}
.ali-product-body small { font-size: 0.82rem; color: var(--red); font-weight: 800; display: block; }

/* Media count badge on product card (new) */
.ali-product-media-badge {
  position: absolute; top: 6px; right: 6px;
  background: rgba(0,0,0,0.7); color: #fff;
  font-size: 0.66rem; font-weight: 700;
  padding: 3px 7px; border-radius: 999px;
  display: flex; align-items: center; gap: 3px;
}

/* ============================================
   SKELETON LOADING
   ============================================ */
@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton-card { background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.skeleton-img { aspect-ratio: 1; background: linear-gradient(90deg, #F0F0F0 25%, #E8E8E8 50%, #F0F0F0 75%); background-size: 200% 100%; animation: skeleton-shimmer 1.5s infinite; }
.skeleton-body { padding: 12px; }
.skeleton-line { height: 12px; background: linear-gradient(90deg, #F0F0F0 25%, #E8E8E8 50%, #F0F0F0 75%); background-size: 200% 100%; animation: skeleton-shimmer 1.5s infinite; border-radius: 4px; margin-bottom: 8px; }

/* ============================================
   BADGES / PILLS (shared)
   ============================================ */
.founding-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, #FEF3C7, var(--amber));
  color: #1a1a1a; padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem; font-weight: 800;
}
.boost-card {
  background: linear-gradient(135deg, var(--green), #108a63);
  color: #fff; border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 8px 28px rgba(11,107,80,0.28);
}
.boost-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.boost-card p { font-size: 0.9rem; opacity: 0.92; margin-bottom: 16px; }
.boost-card .btn-boost {
  background: var(--amber); color: #1a1a1a;
  padding: 12px 24px; border-radius: 10px;
  font-weight: 800; font-size: 0.9rem;
  border: none; cursor: pointer; display: inline-block;
}
.price-range-chip {
  display: inline-block;
  background: #FEF3C7; color: #92400E;
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: 0.8rem; font-weight: 700;
  margin-bottom: 16px;
}

/* ============================================
   SHARE-PROFILE BUTTON (vendor.html owner)
   ============================================ */
.share-profile-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 12px 16px; margin-top: 10px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), #108a63);
  color: #fff;
  font-weight: 800; font-size: 0.88rem;
  border: none; cursor: pointer;
  box-shadow: 0 6px 16px rgba(11,107,80,0.25);
  transition: transform 0.12s, box-shadow 0.15s;
}
.share-profile-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11,107,80,0.3); }
.share-profile-btn:active { transform: scale(0.98); }

/* ============================================
   MEDIA CAROUSEL (vendor.html lightbox)
   ============================================ */
.media-carousel {
  display: flex; gap: 6px;
  margin-top: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.media-thumb {
  width: 52px; height: 52px;
  border-radius: 8px;
  background: var(--bg);
  overflow: hidden;
  display: grid; place-items: center;
  font-size: 1.4rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.1s;
  flex-shrink: 0;
}
.media-thumb:hover { transform: scale(1.05); }
.media-thumb.is-active { border-color: var(--green); }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-thumb.video-thumb {
  background: linear-gradient(135deg, var(--ink), #2a2f2c);
  color: #fff;
  position: relative;
}
.media-thumb.video-thumb::after {
  content: '▶';
  font-size: 1rem;
  color: #fff;
}

/* ============================================
   DASHBOARD (from previous delivery, aligned
   to #0B6B50 tokens)
   ============================================ */
.dash-body { background: var(--bg); }

.dash-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 64px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  gap: 24px;
}
.dash-shell--empty { display: block; max-width: 640px; margin: 40px auto; padding: 0 20px; }

.dash-sidebar { position: relative; }
.dash-sidebar-inner {
  position: sticky; top: 88px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  box-shadow: var(--shadow-xs);
}
.dash-brand {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 6px 18px; margin-bottom: 10px;
  border-bottom: 1px solid var(--border-2);
}
.dash-brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green), #108a63);
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 0.95rem; flex-shrink: 0;
}
.dash-brand-text { min-width: 0; }
.dash-brand-text strong {
  display: block; font-size: 0.92rem; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-brand-text small { display: block; font-size: 0.72rem; color: var(--muted); }

.dash-nav { display: flex; flex-direction: column; gap: 2px; }
.dash-nav-group {
  font-size: 0.66rem; font-weight: 800; color: var(--muted-2);
  text-transform: uppercase; letter-spacing: 0.6px;
  padding: 14px 10px 6px; margin-top: 4px;
}
.dash-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 9px;
  font-size: 0.86rem; font-weight: 600; color: #4B5563;
  transition: background 0.15s, color 0.15s;
}
.dash-nav-link:hover { background: var(--green-tint); color: var(--green); }
.dash-nav-link.is-active { background: var(--green-light); color: var(--green); }
.dash-nav-link.is-danger { color: #B91C1C; }
.dash-nav-link.is-danger:hover { background: var(--red-light); }

.dash-ico { display: inline-grid; place-items: center; width: 18px; height: 18px; flex-shrink: 0; }
.dash-ico svg { width: 100%; height: 100%; }
.dash-ico.inline { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; }

.dash-sidebar-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; padding: 10px 12px;
  background: var(--green); color: #fff;
  border-radius: 10px; font-size: 0.85rem; font-weight: 700;
  transition: background 0.15s;
}
.dash-sidebar-cta:hover { background: var(--green-dark); }
.dash-sidebar-cta .dash-ico { color: #fff; }
.dash-backdrop { display: none; }

.dash-main { min-width: 0; }
.dash-topbar {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 16px;
  margin-bottom: 20px; box-shadow: var(--shadow-xs);
}
.dash-menu-btn {
  display: none; background: var(--green-tint); color: var(--green);
  border-radius: 10px; padding: 8px; width: 38px; height: 38px;
  align-items: center; justify-content: center;
}
.dash-menu-btn .dash-ico { width: 20px; height: 20px; }
.dash-topbar-greeting { flex: 1; min-width: 0; }
.dash-topbar-greeting small { display: block; font-size: 0.7rem; color: var(--muted-2); }
.dash-topbar-greeting strong {
  display: block; font-size: 1rem; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-topbar-actions { display: flex; align-items: center; gap: 8px; }

.dash-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--radius-pill);
  font-size: 0.72rem; font-weight: 700;
}
.dash-status.is-approved  { background: var(--green-light); color: var(--green); }
.dash-status.is-pending   { background: #FEF3C7; color: #92400E; }
.dash-status.is-suspended { background: var(--red-light); color: #B91C1C; }
.dash-status-dot { width: 6px; height: 6px; border-radius: 50%; }

.dash-section { margin-bottom: 28px; scroll-margin-top: 84px; }
.dash-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.dash-section-head h1 {
  font-size: 1.15rem; font-weight: 800; color: var(--ink);
  letter-spacing: -0.3px; margin-bottom: 2px;
}
.dash-section-head p { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.dash-pill { background: var(--green-tint); color: var(--green); padding: 4px 10px; border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 700; }

.dash-stats { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dash-stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 16px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.15s, box-shadow 0.15s;
}
.dash-stat:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.dash-stat-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.dash-stat-head .dash-ico {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--green-light); color: var(--green); padding: 5px;
}
.dash-stat.tone-amber .dash-stat-head .dash-ico { background: #FEF3C7; color: #B45309; }
.dash-stat.tone-blue  .dash-stat-head .dash-ico { background: #DBEAFE; color: #1D4ED8; }
.dash-stat.tone-teal  .dash-stat-head .dash-ico { background: #CCFBF1; color: #0F766E; }
.dash-stat-label { font-size: 0.68rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
.dash-stat-value { font-size: 1.6rem; font-weight: 900; color: var(--ink); line-height: 1.15; letter-spacing: -0.5px; }
.dash-stat-value-sm { font-size: 1.05rem; font-weight: 800; }
.dash-stat-hint { font-size: 0.72rem; color: var(--muted-2); margin-top: 4px; }

.dash-cta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.dash-cta-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface);
  transition: transform 0.15s, box-shadow 0.15s;
}
.dash-cta-card:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.dash-cta-card.is-boost { background: linear-gradient(135deg, #FFF8EC, #FDE9C4); border-color: #FDE9C4; }
.dash-cta-card.is-refer { background: linear-gradient(135deg, var(--green-tint), var(--green-light)); border-color: #E0EEE5; }
.dash-cta-ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: #fff; color: var(--green);
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.dash-cta-card.is-boost .dash-cta-ico { color: #B45309; }
.dash-cta-ico .dash-ico { width: 20px; height: 20px; }
.dash-cta-card div { flex: 1; min-width: 0; }
.dash-cta-card strong { display: block; font-size: 0.9rem; color: var(--ink); margin-bottom: 2px; }
.dash-cta-card p { font-size: 0.78rem; color: var(--muted); }
.dash-cta-arrow { color: var(--muted-2); font-weight: 700; }

.dash-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px;
  box-shadow: var(--shadow-xs);
}
.dash-card--flush { padding: 0; overflow: hidden; }
.dash-card-head { margin-bottom: 12px; }
.dash-card-head h3 { font-size: 0.98rem; font-weight: 800; color: var(--ink); }

.dash-empty {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px 24px;
  text-align: center; box-shadow: var(--shadow-xs);
}
.dash-empty-ico { font-size: 2.6rem; margin-bottom: 12px; }
.dash-empty h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.dash-empty p { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.dash-empty-inline { padding: 32px 20px; text-align: center; }
.dash-empty-inline p { color: var(--muted); font-size: 0.88rem; }
.dash-empty-inline .dash-empty-ico { font-size: 2rem; margin-bottom: 6px; }

.dash-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.dash-table thead th {
  text-align: left; padding: 12px 16px;
  font-size: 0.68rem; font-weight: 800; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.4px;
  background: var(--bg); border-bottom: 1px solid var(--border-2);
}
.dash-table tbody td {
  padding: 12px 16px; border-bottom: 1px solid var(--border-2);
  vertical-align: middle; color: #374151;
}
.dash-table tbody tr:last-child td { border-bottom: none; }
.dash-table tbody tr:hover { background: var(--bg); }
.dash-table-primary { font-weight: 700; color: var(--ink); font-size: 0.88rem; }
.dash-table-product { display: flex; align-items: center; gap: 10px; }
.dash-table-actions { text-align: right; white-space: nowrap; }
.dash-table-actions > * + * { margin-left: 6px; }
.dash-muted { color: var(--muted-2); font-size: 0.82rem; }
.dash-price { font-weight: 800; color: var(--red); font-size: 0.88rem; }
.dash-thumb {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--bg); display: grid; place-items: center;
  font-size: 1.1rem; overflow: hidden; flex-shrink: 0;
  position: relative;
}
.dash-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dash-thumb .media-count {
  position: absolute; bottom: -2px; right: -2px;
  background: var(--green); color: #fff;
  font-size: 0.55rem; font-weight: 800;
  padding: 1px 5px; border-radius: 6px;
}

.dash-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 16px; border-radius: 10px;
  font-weight: 700; font-size: 0.86rem;
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  text-decoration: none;
}
.dash-btn:active { transform: scale(0.98); }
.dash-btn-sm { padding: 7px 12px; font-size: 0.78rem; border-radius: 8px; }
.dash-btn-primary { background: var(--green); color: #fff; box-shadow: 0 3px 10px rgba(11,107,80,0.2); }
.dash-btn-primary:hover { background: var(--green-dark); }
.dash-btn-green { background: var(--green); color: #fff; }
.dash-btn-green:hover { background: var(--green-dark); }
.dash-btn-amber { background: var(--amber); color: #1a1a1a; }
.dash-btn-amber:hover { background: var(--amber-dark); }
.dash-btn-cyan { background: #0891B2; color: #fff; }
.dash-btn-cyan:hover { background: #0E7490; }
.dash-btn-soft { background: var(--green-tint); color: #374151; border-color: var(--border); }
.dash-btn-soft:hover { background: var(--green-light); }
.dash-btn-ghost { background: #fff; color: var(--green); border-color: #D9E5DC; }
.dash-btn-ghost:hover { background: var(--green-tint); }
.dash-btn-danger { background: var(--red); color: #fff; }
.dash-btn-danger:hover { background: #B91C1C; }
.dash-btn-danger-ghost { background: var(--red-light); color: #B91C1C; border-color: #FECACA; }
.dash-btn-danger-ghost:hover { background: #FEE2E2; }
.dash-btn .dash-ico { width: 14px; height: 14px; }

.dash-banner {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; border-radius: 12px;
  margin-bottom: 18px; font-size: 0.88rem;
}
.dash-banner.is-warn { background: #FEF3C7; color: #92400E; }
.dash-banner.is-danger { background: var(--red-light); color: #B91C1C; }
.dash-banner .dash-ico { margin-top: 2px; flex-shrink: 0; }

.dash-img-card { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.dash-vendor-preview {
  width: 110px; height: 110px; border-radius: 20px;
  background: linear-gradient(135deg, var(--green-light), #D4F0E0);
  display: grid; place-items: center; font-size: 2.4rem;
  overflow: hidden; flex-shrink: 0;
}
.dash-vendor-preview img { width: 100%; height: 100%; object-fit: cover; }
.dash-img-panel { flex: 1; min-width: 200px; }
.dash-img-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; flex-wrap: wrap; }
.dash-img-preview {
  width: 80px; height: 80px; border-radius: 14px;
  background: linear-gradient(135deg, var(--green-light), #D4F0E0);
  display: grid; place-items: center; font-size: 1.8rem;
  overflow: hidden; flex-shrink: 0;
}
.dash-img-preview img, .dash-img-preview video { width: 100%; height: 100%; object-fit: cover; }
.dash-img-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dash-help { font-size: 0.78rem; color: var(--muted-2); margin-top: 6px; }

.dash-form .form-group input,
.dash-form .form-group select,
.dash-form .form-group textarea { background: var(--bg); }
.dash-form .form-group input:focus,
.dash-form .form-group select:focus,
.dash-form .form-group textarea:focus { background: #fff; border-color: var(--green); box-shadow: 0 0 0 3px rgba(11,107,80,0.1); }

.dash-danger { border-color: #FECACA; background: #FFFAFA; }
.dash-danger-head { display: flex; align-items: center; gap: 8px; color: #B91C1C; margin-bottom: 8px; }
.dash-danger-head h3 { font-size: 0.98rem; font-weight: 800; }
.dash-danger p { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }

/* Dashboard: multi-media product form (new) */
.dash-media-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.dash-media-slot {
  background: var(--bg);
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  min-height: 140px;
}
.dash-media-slot:hover { border-color: var(--green); background: var(--green-tint); }
.dash-media-slot.has-media { border-style: solid; border-color: var(--green); background: #fff; }
.dash-media-slot .slot-preview {
  width: 100%; aspect-ratio: 1;
  background: #fff; border-radius: 8px;
  display: grid; place-items: center;
  overflow: hidden; font-size: 2rem;
}
.dash-media-slot .slot-preview img,
.dash-media-slot .slot-preview video { width: 100%; height: 100%; object-fit: cover; }
.dash-media-slot .slot-label {
  font-size: 0.72rem; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.3px;
}
.dash-media-slot .slot-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.dash-media-slot .slot-remove {
  position: absolute; top: 6px; right: 6px;
  background: rgba(220,38,38,0.9); color: #fff;
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 0.75rem; font-weight: 700;
  display: grid; place-items: center;
  cursor: pointer; z-index: 2;
}
.dash-media-slot .slot-remove:hover { background: var(--red); }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--green); color: #fff;
  padding: 12px 22px; border-radius: 12px;
  font-weight: 700; font-size: 0.88rem;
  opacity: 0; transition: opacity 0.25s, transform 0.25s;
  pointer-events: none; z-index: 1000;
  box-shadow: 0 8px 24px rgba(11,107,80,0.3);
  max-width: calc(100vw - 40px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 1080px) { .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .dash-shell { grid-template-columns: 1fr; padding: 16px 14px 32px; gap: 16px; }
  .dash-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 200; width: 260px; transform: translateX(-100%); transition: transform 0.25s ease; }
  .dash-sidebar.is-open { transform: translateX(0); }
  .dash-sidebar-inner { position: static; border-radius: 0; height: 100vh; overflow-y: auto; border: none; box-shadow: 0 0 40px rgba(0,0,0,0.2); }
  .dash-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.45); opacity: 0; pointer-events: none; transition: opacity 0.25s; z-index: 150; }
  .dash-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .dash-menu-btn { display: inline-flex; }
  .dash-topbar { padding: 10px 12px; }
  .dash-cta-grid { grid-template-columns: 1fr; }
  .dash-section { scroll-margin-top: 72px; }
}
@media (max-width: 640px) {
  .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dash-stat { padding: 12px; }
  .dash-stat-value { font-size: 1.3rem; }
  .dash-topbar-actions .dash-btn-ghost { display: none; }
  .dash-topbar-greeting strong { font-size: 0.92rem; }
  .dash-table thead { display: none; }
  .dash-table, .dash-table tbody, .dash-table tr, .dash-table td { display: block; width: 100%; }
  .dash-table tbody tr {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-2);
    display: grid; grid-template-columns: 1fr auto; gap: 6px 10px;
  }
  .dash-table tbody tr:last-child { border-bottom: none; }
  .dash-table tbody tr:hover { background: transparent; }
  .dash-table tbody td { padding: 0; border: none; }
  .dash-table tbody td[data-label="Buyer"],
  .dash-table tbody td[data-label="Product"] { grid-column: 1 / -1; }
  .dash-table tbody td[data-label="When"] { grid-column: 1; font-size: 0.75rem; }
  .dash-table tbody td[data-label="Price"] { grid-column: 2; text-align: right; font-weight: 800; }
  .dash-table-actions { grid-column: 1 / -1; text-align: left; display: flex; gap: 8px; flex-wrap: wrap; padding-top: 6px !important; }
  .dash-img-card { padding: 14px; }
  .dash-vendor-preview { width: 84px; height: 84px; font-size: 2rem; border-radius: 16px; }
  .dash-card { padding: 14px; }
  .dash-section-head h1 { font-size: 1.05rem; }
  .dash-banner { font-size: 0.82rem; }
  .dash-media-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .dash-stats { grid-template-columns: 1fr; }
  .dash-cta-card p { display: none; }
  .dash-media-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .dash-stat, .dash-cta-card, .dash-btn, .toast { transition: none !important; }
}/* ============================================
   PREMIUM VENDOR PLACEHOLDER (Replaces 🏪 emoji)
   ============================================ */
.vendor-dp, .ali-card-img, .dash-dp {
  position: relative;
}
/* If the vendor DP is empty (just the emoji) */
.vendor-dp:not(:has(img)) {
  background: linear-gradient(135deg, #F0F4F1, #E0EAE4) !important;
  color: transparent !important; /* hides the emoji */
}
.vendor-dp:not(:has(img))::after {
  content: '📷';
  font-size: 2.5rem;
  opacity: 0.3;
  color: var(--green);
}
/* If the product card has no image */
.ali-card-img:not(:has(img)) {
  background: linear-gradient(135deg, #F9F9F9, #F0F4F1) !important;
  color: transparent !important; 
}
.ali-card-img:not(:has(img))::after {
  content: '📦';
  font-size: 3rem;
  opacity: 0.2;
}/* ============================================
   PREMIUM PRODUCT IMAGE DISPLAY
   ============================================ */
.ali-product-img {
  position: relative;
  aspect-ratio: 1;
  background: #f8f9fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The full image is contained, not cropped */
.ali-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  position: relative;
}

/* Blurred background for empty space */
.ali-product-img::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: inherit;
  filter: blur(20px);
  opacity: 0.4;
  z-index: 1;
}

/* Homepage Cards (flash cards) - keep cover but focus on top */
.flash-card .img img {
  object-fit: cover;
  object-position: center top;
}

/* Dashboard media slots - show full image */
.dash-media-slot .slot-preview img {
  object-fit: contain;
  background: #f8f9fa;
}/* ============================================
   PREMIUM ADDITIONS
   ============================================ */
.skeleton-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.skeleton-img { aspect-ratio: 1; background: linear-gradient(90deg, #F0F0F0 25%, #E8E8E8 50%, #F0F0F0 75%); background-size: 200% 100%; animation: skeleton-shimmer 1.5s infinite; }
.skeleton-body { padding: 12px; }
.skeleton-line { height: 12px; background: linear-gradient(90deg, #F0F0F0 25%, #E8E8E8 50%, #F0F0F0 75%); background-size: 200% 100%; animation: skeleton-shimmer 1.5s infinite; border-radius: 4px; margin-bottom: 8px; }
@keyframes skeleton-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.out-of-stock-overlay {
  position: absolute; inset: 0; background: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 10; backdrop-filter: blur(2px);
}
.out-of-stock-badge {
  background: var(--red); color: #fff; padding: 6px 16px;
  border-radius: 999px; font-weight: 900; font-size: 0.85rem;
  transform: rotate(-10deg); box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}/* Modal Input Focus States */
#reportModal select:focus, 
#reportModal textarea:focus, 
#reportModal input:focus {
  border-color: var(--green) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(11, 107, 80, 0.1) !important;
}