/* ============================================================
   SHOPOWNER — Custom Design System
   Theme: Dark-Yellow · White · Black | Dark + Light Mode
   Built for the Nigerian / Lagos Market
   ============================================================ */

/* ── Google Fonts fallback (system stack) ─────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --gold:        #F5A623;
  --gold-dark:   #D4891A;
  --gold-light:  #FFD166;
  --gold-pale:   #FFF3D6;
  --black:       #0D0D0D;
  --white:       #FFFFFF;

  /* Light mode defaults */
  --bg:          #F7F7F7;
  --bg-2:        #FFFFFF;
  --bg-3:        #EFEFEF;
  --surface:     #FFFFFF;
  --surface-2:   #F0F0F0;
  --txt:         #111111;
  --txt-2:       #444444;
  --txt-muted:   #888888;
  --border:      #E2E2E2;
  --border-2:    #D0D0D0;
  --shadow:      0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.14);
  --header-bg:   #111111;
  --header-txt:  #FFFFFF;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --transition:  all 0.25s ease;
}

[data-theme="dark"] {
  --bg:          #0D0D0D;
  --bg-2:        #161616;
  --bg-3:        #1E1E1E;
  --surface:     #1E1E1E;
  --surface-2:   #2A2A2A;
  --txt:         #F5F5F5;
  --txt-2:       #CCCCCC;
  --txt-muted:   #777777;
  --border:      #2E2E2E;
  --border-2:    #3A3A3A;
  --shadow:      0 2px 12px rgba(0,0,0,0.4);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.5);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.6);
  --header-bg:   #080808;
  --gold-pale:   #2A2000;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Space Grotesk', -apple-system, BlinkMacSystemFont,
               'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.65;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-dark); }

img { max-width: 100%; display: block; }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--txt);
  line-height: 1.25;
}

p { color: var(--txt-2); }

/* ── Header ───────────────────────────────────────────────── */
.so-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 2px solid var(--gold);
  backdrop-filter: blur(10px);
}

.so-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
}

.so-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.so-logo-icon {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #000; font-weight: 900;
}
.so-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.so-logo-text span { color: var(--gold); }

/* Search bar */
.so-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.so-search input {
  width: 100%;
  padding: 9px 16px 9px 42px;
  border-radius: 24px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.so-search input::placeholder { color: rgba(255,255,255,0.4); }
.so-search input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.10);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
}
.so-search-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  pointer-events: none;
}

/* Nav links */
.so-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.so-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.so-nav a:hover, .so-nav a.active {
  color: var(--gold);
  background: rgba(245,166,35,0.1);
}

/* Theme toggle */
.so-theme-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  flex-shrink: 0;
}
.so-theme-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Register / Login buttons */
.so-btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold);
  color: #000 !important;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.so-btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(245,166,35,0.4);
}

.so-btn-outline {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--gold);
  color: var(--gold) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 24px;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.so-btn-outline:hover {
  background: var(--gold);
  color: #000 !important;
}

.so-btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--border);
  color: var(--txt) !important;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 24px;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.so-btn-ghost:hover { border-color: var(--gold); color: var(--gold) !important; }

/* Mobile hamburger */
.so-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.so-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: var(--transition);
}

/* ── Mobile Drawer ────────────────────────────────────────── */
.so-drawer {
  position: fixed;
  top: 0; left: -100%;
  width: 280px; height: 100vh;
  background: var(--bg-2);
  z-index: 2000;
  transition: left 0.3s ease;
  display: flex; flex-direction: column;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.so-drawer.open { left: 0; }

.so-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
}
.so-drawer-close {
  background: none; border: none; color: #fff; font-size: 20px; cursor: pointer;
}
.so-drawer-body { padding: 16px; flex: 1; }
.so-drawer-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--txt);
  font-size: 15px; font-weight: 500;
  transition: var(--transition);
  margin-bottom: 4px;
}
.so-drawer-nav a:hover, .so-drawer-nav a.active {
  background: var(--gold-pale);
  color: var(--gold);
}
.so-drawer-nav a i { width: 20px; color: var(--gold); }

.so-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  display: none;
}
.so-overlay.open { display: block; }

/* ── Flash Messages ───────────────────────────────────────── */
.so-messages {
  position: sticky; top: 64px;
  z-index: 900;
  padding: 0;
}
.so-msg {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  font-size: 14px; font-weight: 500;
  border-left: 4px solid transparent;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.so-msg.success { background: #d4edda; color: #155724; border-color: #28a745; }
.so-msg.error   { background: #f8d7da; color: #721c24; border-color: #dc3545; }
.so-msg.info    { background: var(--gold-pale); color: #7a5000; border-color: var(--gold); }
.so-msg.warning { background: #fff3cd; color: #856404; border-color: #ffc107; }
[data-theme="dark"] .so-msg.success { background: #0d2e18; color: #6fcf97; }
[data-theme="dark"] .so-msg.error   { background: #2e0d0d; color: #eb5757; }
[data-theme="dark"] .so-msg.info    { background: #2A2000; color: var(--gold); }
[data-theme="dark"] .so-msg.warning { background: #2a1f00; color: #f2c94c; }

/* ── Hero Section ─────────────────────────────────────────── */
.so-hero {
  background: var(--header-bg);
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  text-align: center;
}
.so-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(245,166,35,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.so-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--gold);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}
.so-hero h1 {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.so-hero h1 span { color: var(--gold); }
.so-hero p {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 32px;
}
.so-hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* Hero search bar */
.so-hero-search {
  max-width: 560px;
  margin: 0 auto 28px;
  display: flex;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  overflow: hidden;
  transition: var(--transition);
}
.so-hero-search:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,166,35,0.15);
}
.so-hero-search input {
  flex: 1; padding: 14px 20px;
  background: transparent;
  border: none; outline: none;
  color: #fff; font-size: 15px;
}
.so-hero-search input::placeholder { color: rgba(255,255,255,0.4); }
.so-hero-search button {
  padding: 10px 24px;
  background: var(--gold);
  border: none; cursor: pointer;
  color: #000; font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.so-hero-search button:hover { background: var(--gold-dark); }

/* Stats strip */
.so-stats-strip {
  display: flex; justify-content: center; gap: 0;
  background: rgba(245,166,35,0.08);
  border-top: 1px solid rgba(245,166,35,0.15);
  border-bottom: 1px solid rgba(245,166,35,0.15);
  flex-wrap: wrap;
}
.so-stat-item {
  padding: 14px 32px;
  text-align: center;
  border-right: 1px solid rgba(245,166,35,0.15);
}
.so-stat-item:last-child { border-right: none; }
.so-stat-num { font-size: 22px; font-weight: 800; color: var(--gold); }
.so-stat-lbl { font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Section ──────────────────────────────────────────────── */
.so-section { padding: 60px 0; }
.so-section-alt { background: var(--bg-3); }
[data-theme="dark"] .so-section-alt { background: var(--bg-2); }

.so-section-head {
  text-align: center;
  margin-bottom: 40px;
}
.so-section-head .eyebrow {
  display: inline-block;
  color: var(--gold); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 8px;
}
.so-section-head h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.so-section-head h2 span { color: var(--gold); }
.so-section-head p { color: var(--txt-muted); max-width: 500px; margin: 0 auto; }

/* ── Container ────────────────────────────────────────────── */
.so-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Category Pills ───────────────────────────────────────── */
.so-cat-scroll {
  display: flex; gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.so-cat-scroll::-webkit-scrollbar { display: none; }

.so-cat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--txt-2);
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}
.so-cat-pill i { color: var(--gold); font-size: 14px; }
.so-cat-pill:hover, .so-cat-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245,166,35,0.3);
}
.so-cat-pill:hover i, .so-cat-pill.active i { color: #000; }

/* ── Shop Card ────────────────────────────────────────────── */
.so-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.so-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.so-grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.so-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex; flex-direction: column;
  position: relative;
}
.so-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.so-card-img {
  width: 100%; height: 190px;
  object-fit: cover;
  background: var(--surface-2);
}
.so-card-img-placeholder {
  width: 100%; height: 190px;
  background: linear-gradient(135deg, var(--surface-2), var(--bg-3));
  display: flex; align-items: center; justify-content: center;
  color: var(--txt-muted); font-size: 40px;
}

.so-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: #000;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.so-card-badge.verified {
  background: #28a745; color: #fff;
}
.so-card-badge.new { background: #007bff; color: #fff; }

.so-card-views {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  display: flex; align-items: center; gap: 4px;
  backdrop-filter: blur(4px);
}

.so-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }

.so-card-tags {
  display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 8px;
}
.so-tag {
  font-size: 11px; font-weight: 600;
  padding: 2px 9px;
  border-radius: 10px;
}
.so-tag-gold { background: var(--gold-pale); color: var(--gold-dark); }
.so-tag-dark { background: var(--surface-2); color: var(--txt-muted); }
[data-theme="dark"] .so-tag-dark { background: var(--bg-3); }

.so-card-title {
  font-size: 15px; font-weight: 700;
  margin-bottom: 5px;
  color: var(--txt);
}
.so-card-title a { color: inherit; }
.so-card-title a:hover { color: var(--gold); }

.so-card-location {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--txt-muted);
  margin-bottom: 8px;
}
.so-card-location i { color: var(--gold); font-size: 11px; }

.so-card-desc {
  font-size: 12.5px; color: var(--txt-2);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.so-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

/* ── Market Card ──────────────────────────────────────────── */
.so-market-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 200px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}
.so-market-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.so-market-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.so-market-card:hover img { transform: scale(1.05); }
.so-market-card-no-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a1a, #2d2d00, #1a1a1a);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--gold);
}
.so-market-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 20px 16px 14px;
}
.so-market-overlay h4 { color: #fff; font-size: 16px; margin-bottom: 2px; }
.so-market-overlay p { color: rgba(255,255,255,0.7); font-size: 12px; margin: 0; }
.so-market-overlay .count {
  position: absolute; top: -30px; right: 12px;
  background: var(--gold);
  color: #000; font-weight: 700; font-size: 11px;
  padding: 3px 10px; border-radius: 12px;
}

/* ── Filter Sidebar ───────────────────────────────────────── */
.so-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 80px;
}
.so-sidebar-title {
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--txt-muted);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.so-sidebar-title i { color: var(--gold); }

.so-filter-group { margin-bottom: 20px; }
.so-filter-label {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--txt-muted);
  margin-bottom: 8px;
}
.so-filter-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--txt);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.so-filter-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,166,35,0.12); }

.so-filter-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--txt);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.so-filter-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,166,35,0.12); }
.so-filter-input::placeholder { color: var(--txt-muted); }

/* ── Page Banner ──────────────────────────────────────────── */
.so-page-banner {
  background: var(--header-bg);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.so-page-banner::after {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.so-page-banner h1, .so-page-banner h2 { color: #fff; margin-bottom: 6px; }
.so-page-banner p { color: rgba(255,255,255,0.6); margin: 0; }
.so-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
}
.so-breadcrumb a { color: var(--gold); }
.so-breadcrumb i { font-size: 10px; }

/* ── Auth Pages ───────────────────────────────────────────── */
.so-auth-wrap {
  min-height: 100vh;
  display: flex;
}
.so-auth-left {
  flex: 1;
  background: var(--header-bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.so-auth-left::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(245,166,35,0.2) 0%, transparent 60%);
}
.so-auth-left-content { position: relative; z-index: 1; max-width: 400px; }
.so-auth-left h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.so-auth-left h2 span { color: var(--gold); }
.so-auth-left p { color: rgba(255,255,255,0.6); line-height: 1.7; }

.so-auth-features { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.so-auth-feature {
  display: flex; align-items: flex-start; gap: 12px;
}
.so-auth-feature-icon {
  width: 36px; height: 36px;
  background: rgba(245,166,35,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 15px;
  flex-shrink: 0;
}
.so-auth-feature-text h5 { color: #fff; font-size: 14px; margin-bottom: 2px; }
.so-auth-feature-text p { color: rgba(255,255,255,0.5); font-size: 13px; margin: 0; }

.so-auth-right {
  flex: 0 0 480px;
  background: var(--bg-2);
  display: flex; flex-direction: column;
  padding: 48px 40px;
  overflow-y: auto;
}
.so-auth-logo { margin-bottom: 32px; }
.so-auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
  gap: 4px;
}
.so-auth-tab {
  padding: 10px 20px;
  font-size: 14px; font-weight: 600;
  color: var(--txt-muted);
  cursor: pointer; border: none; background: none;
  position: relative; transition: var(--transition);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.so-auth-tab.active {
  color: var(--gold);
}
.so-auth-tab.active::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--gold);
  border-radius: 2px 2px 0 0;
}
.so-auth-tab-content { display: none; }
.so-auth-tab-content.active { display: block; }

/* ── Forms ────────────────────────────────────────────────── */
.so-form-group { margin-bottom: 18px; }
.so-form-label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--txt-2);
  margin-bottom: 6px;
}
.so-form-label i { color: var(--gold); margin-right: 4px; }
.so-form-input, .so-form-select, .so-form-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--txt);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.so-form-input:focus, .so-form-select:focus, .so-form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
  background: var(--surface);
}
.so-form-input::placeholder, .so-form-textarea::placeholder { color: var(--txt-muted); }
.so-form-textarea { resize: vertical; min-height: 100px; }
.so-form-hint { font-size: 12px; color: var(--txt-muted); margin-top: 5px; }
.so-form-error { font-size: 12px; color: #dc3545; margin-top: 4px; }

.so-form-file {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px dashed var(--border);
  background: var(--surface-2);
  color: var(--txt-2);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}
.so-form-file:hover { border-color: var(--gold); background: var(--gold-pale); }

.so-input-icon { position: relative; }
.so-input-icon input { padding-left: 40px; }
.so-input-icon .icon {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--txt-muted); font-size: 14px;
}
.so-input-icon .toggle-pass {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--txt-muted); font-size: 14px; padding: 2px;
}

/* ── Setup Wizard ─────────────────────────────────────────── */
.so-wizard-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.so-wizard-step {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.so-wizard-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--txt-muted);
  transition: var(--transition);
  flex-shrink: 0;
}
.so-wizard-step.done .so-wizard-dot {
  background: #28a745; border-color: #28a745; color: #fff;
}
.so-wizard-step.active .so-wizard-dot {
  background: var(--gold); border-color: var(--gold); color: #000;
  box-shadow: 0 0 0 4px rgba(245,166,35,0.2);
}
.so-wizard-label {
  font-size: 12px; margin-left: 8px; color: var(--txt-muted); white-space: nowrap;
}
.so-wizard-step.active .so-wizard-label { color: var(--gold); font-weight: 600; }
.so-wizard-step.done .so-wizard-label { color: #28a745; }
.so-wizard-line {
  flex: 1; min-width: 20px; max-width: 60px;
  height: 2px; background: var(--border);
  margin: 0 8px;
}
.so-wizard-step.done + .so-wizard-line { background: #28a745; }

/* Selection cards for wizard */
.so-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.so-select-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--surface);
  position: relative;
}
.so-select-card:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
  transform: translateY(-3px);
}
.so-select-card.selected {
  border-color: var(--gold);
  background: var(--gold-pale);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.2);
}
.so-select-card.selected::after {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute; top: 8px; right: 10px;
  color: var(--gold); font-size: 16px;
}
.so-select-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(245,166,35,0.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  font-size: 22px; color: var(--gold);
  transition: var(--transition);
}
.so-select-card:hover .so-select-icon,
.so-select-card.selected .so-select-icon {
  background: var(--gold); color: #000;
}
.so-select-card h5 { font-size: 14px; color: var(--txt); margin-bottom: 3px; }
.so-select-card p { font-size: 11px; color: var(--txt-muted); margin: 0; }

/* ── Dashboard ────────────────────────────────────────────── */
.so-dash-header {
  background: var(--header-bg);
  padding: 32px 20px 0;
  position: relative; overflow: hidden;
}
.so-dash-header::before {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
}
.so-dash-profile {
  display: flex; align-items: flex-end; gap: 20px;
  padding-bottom: 0; position: relative; z-index: 1;
}
.so-dash-avatar {
  width: 90px; height: 90px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 20px rgba(245,166,35,0.3);
}
.so-dash-info h2 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.so-dash-info p { color: rgba(255,255,255,0.5); font-size: 13px; margin: 0; }
.so-dash-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }

.so-dash-tabs {
  display: flex; gap: 0;
  margin-top: 20px; position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.so-dash-tab {
  padding: 12px 20px;
  font-size: 13.5px; font-weight: 600;
  color: rgba(255,255,255,0.45);
  cursor: pointer; border: none; background: none;
  position: relative;
  transition: var(--transition);
  display: flex; align-items: center; gap: 7px;
  text-decoration: none;
}
.so-dash-tab.active, .so-dash-tab:hover { color: var(--gold); }
.so-dash-tab.active::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
}

/* Stat cards */
.so-stat-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.so-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; align-items: center; gap: 14px;
  transition: var(--transition);
}
.so-stat-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.so-stat-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.so-stat-card-icon.gold { background: rgba(245,166,35,0.12); color: var(--gold); }
.so-stat-card-icon.green { background: rgba(40,167,69,0.12); color: #28a745; }
.so-stat-card-icon.blue  { background: rgba(0,123,255,0.12); color: #007bff; }
.so-stat-card-icon.red   { background: rgba(220,53,69,0.12); color: #dc3545; }
.so-stat-card-num { font-size: 26px; font-weight: 800; color: var(--txt); line-height: 1; }
.so-stat-card-lbl { font-size: 12px; color: var(--txt-muted); margin-top: 2px; }

/* ── Detail Page ──────────────────────────────────────────── */
.so-shop-header {
  background: var(--header-bg);
  position: relative;
  overflow: hidden;
}
.so-shop-banner {
  width: 100%; height: 280px;
  object-fit: cover;
  opacity: 0.6;
}
.so-shop-banner-placeholder {
  height: 280px;
  background: linear-gradient(135deg, #111 0%, #2d2d00 50%, #111 100%);
}
.so-shop-profile-row {
  display: flex; align-items: flex-end; gap: 20px;
  padding: 0 24px 24px;
  margin-top: -60px;
  position: relative; z-index: 1;
  flex-wrap: wrap;
}
.so-shop-logo {
  width: 100px; height: 100px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 4px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  background: var(--surface-2);
}
.so-shop-meta h1 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.so-shop-meta-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.so-shop-stats { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.so-shop-stat { display: flex; align-items: center; gap: 5px; font-size: 13px; color: rgba(255,255,255,0.6); }
.so-shop-stat i { color: var(--gold); }

/* ── Product Card ─────────────────────────────────────────── */
.so-product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.so-product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.so-product-img {
  width: 100%; height: 150px;
  object-fit: cover; background: var(--surface-2);
}
.so-product-placeholder {
  width: 100%; height: 150px;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--txt-muted); font-size: 32px;
}
.so-product-body { padding: 14px; }
.so-product-title { font-size: 14px; font-weight: 700; color: var(--txt); margin-bottom: 4px; }
.so-product-price { font-size: 17px; font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.so-product-actions { display: flex; gap: 6px; margin-top: 10px; }

/* ── Gallery ──────────────────────────────────────────────── */
.so-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}
.so-gallery-thumb {
  width: 100%; aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.so-gallery-thumb:hover { border-color: var(--gold); transform: scale(1.03); }

/* ── Reviews ──────────────────────────────────────────────── */
.so-review {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.so-review:last-child { border-bottom: none; }
.so-review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.so-review-name { font-weight: 700; font-size: 14px; }
.so-stars { color: #ffc107; font-size: 14px; }
.so-review-date { font-size: 12px; color: var(--txt-muted); margin-left: auto; }
.so-review-text { font-size: 14px; color: var(--txt-2); }

/* Star rating input */
.so-star-input { display: flex; gap: 4px; }
.so-star-input label {
  font-size: 26px; color: var(--border-2);
  cursor: pointer; transition: color 0.15s;
  line-height: 1;
}
.so-star-input label:hover,
.so-star-input label.lit { color: #ffc107; }

/* ── Info Panel (sidebar on detail) ──────────────────────── */
.so-info-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.so-info-panel-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--txt-muted);
  display: flex; align-items: center; gap: 8px;
}
.so-info-panel-head i { color: var(--gold); }
.so-info-panel-body { padding: 16px 18px; }

.so-contact-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.so-contact-row:last-child { border-bottom: none; }
.so-contact-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.so-contact-icon.gold { background: var(--gold-pale); color: var(--gold-dark); }
.so-contact-icon.green { background: rgba(40,167,69,0.1); color: #28a745; }
.so-contact-icon.blue  { background: rgba(0,123,255,0.1); color: #007bff; }
.so-contact-row a { color: var(--txt); }
.so-contact-row a:hover { color: var(--gold); }

/* WhatsApp floating button */
.so-whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 888;
  width: 54px; height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  text-decoration: none;
  transition: var(--transition);
  animation: pulse 2s infinite;
}
.so-whatsapp-float:hover { transform: scale(1.1); color: #fff; }
@keyframes pulse {
  0%  { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ── Footer ───────────────────────────────────────────────── */
.so-footer {
  background: #080808;
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
  margin-top: 60px;
}
.so-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.so-footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.45); margin: 14px 0 20px; }
.so-footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.5px; }
.so-footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.so-footer-links a { color: rgba(255,255,255,0.45); font-size: 14px; transition: var(--transition); }
.so-footer-links a:hover { color: var(--gold); padding-left: 4px; }
.so-footer-social { display: flex; gap: 10px; }
.so-footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 14px;
  transition: var(--transition);
}
.so-footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #000; }
.so-footer-bottom {
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.3);
}
.so-footer-bottom a { color: var(--gold); }
.so-naira { color: var(--gold); font-weight: 800; }

/* ── Divider ──────────────────────────────────────────────── */
.so-divider {
  border: none; border-top: 1px solid var(--border); margin: 24px 0;
}

/* ── Surface card (generic) ───────────────────────────────── */
.so-surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.so-surface-sm { padding: 16px; }
.so-surface-title {
  font-size: 15px; font-weight: 700;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  color: var(--txt);
}
.so-surface-title i { color: var(--gold); }

/* ── Map ──────────────────────────────────────────────────── */
.so-map-frame {
  width: 100%; height: 380px;
  border: 0; border-radius: var(--radius);
}

/* ── OTP input ────────────────────────────────────────────── */
.so-otp-input {
  font-size: 28px; letter-spacing: 16px;
  text-align: center; font-weight: 800;
  padding: 14px 20px;
}

/* ── Empty state ──────────────────────────────────────────── */
.so-empty {
  text-align: center;
  padding: 72px 20px;
  color: var(--txt-muted);
}
.so-empty-icon {
  font-size: 64px; opacity: 0.2;
  display: block; margin-bottom: 20px;
}
.so-empty h4 { font-size: 18px; color: var(--txt-2); margin-bottom: 8px; }
.so-empty p { font-size: 14px; }

/* ── Utility ──────────────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-muted { color: var(--txt-muted); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .so-stat-cards { grid-template-columns: repeat(2,1fr); }
  .so-footer-grid { grid-template-columns: 1fr 1fr; }
  .so-auth-left { display: none; }
  .so-auth-right { flex: 1; max-width: 100%; }
}

@media (max-width: 768px) {
  .so-search { display: none; }
  .so-nav { display: none; }
  .so-hamburger { display: flex; margin-left: auto; }
  .so-hero { padding: 50px 16px; }
  .so-hero h1 { font-size: 28px; }
  .so-section { padding: 40px 0; }
  .so-section-head h2 { font-size: 22px; }
  .so-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .so-grid-3, .so-grid-4 { grid-template-columns: 1fr 1fr; }
  .so-dash-profile { flex-direction: column; align-items: flex-start; }
  .so-stat-cards { grid-template-columns: 1fr 1fr; }
  .so-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .so-wizard-progress { gap: 0; }
  .so-wizard-label { display: none; }
  .so-shop-profile-row { flex-direction: column; align-items: flex-start; }
  .so-auth-right { padding: 32px 20px; }
  .so-container { padding: 0 14px; }
  .so-page-banner { padding: 28px 14px; }
  .so-select-grid { grid-template-columns: 1fr 1fr; }
  .so-stats-strip { gap: 0; }
  .so-stat-item { padding: 12px 18px; }
}

@media (max-width: 480px) {
  .so-grid { grid-template-columns: 1fr 1fr; }
  .so-grid-3, .so-grid-4 { grid-template-columns: 1fr; }
  .so-hero-actions { flex-direction: column; align-items: center; }
  .so-btn-primary, .so-btn-outline { width: 100%; justify-content: center; }
  .so-stat-cards { grid-template-columns: 1fr 1fr; }
  .so-hero h1 { font-size: 24px; }
  .so-select-grid { grid-template-columns: 1fr 1fr; }
  .so-whatsapp-float { bottom: 16px; right: 16px; width: 48px; height: 48px; font-size: 20px; }
}

/* ── Mobile bottom nav ────────────────────────────────────── */
.so-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--header-bg);
  border-top: 1px solid rgba(245,166,35,0.3);
  z-index: 800;
  padding: 8px 0 env(safe-area-inset-bottom);
}
.so-bottom-nav-inner {
  display: flex; justify-content: space-around;
}
.so-bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 4px 16px;
  color: rgba(255,255,255,0.4);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
}
.so-bottom-nav-item i { font-size: 18px; }
.so-bottom-nav-item.active, .so-bottom-nav-item:hover { color: var(--gold); }
@media (max-width: 768px) {
  .so-bottom-nav { display: block; }
  body { padding-bottom: 64px; }
}

/* ── Animations ───────────────────────────────────────────── */
.so-fade-in { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Wizard Page Layout ───────────────────────────────────── */
.so-wizard-wrap {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 60px;
}
.so-wizard-header {
  width: 100%; max-width: 760px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  margin-bottom: 8px;
}
.so-wizard-card {
  width: 100%; max-width: 540px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 600px) {
  .so-wizard-card { padding: 20px 16px; }
}

/* ── Form Section Title ───────────────────────────────────── */
.so-form-section-title {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--txt-muted);
  padding: 14px 0 8px;
  border-bottom: 1px solid var(--border);
  margin: 8px 0 16px;
  display: flex; align-items: center; gap: 6px;
}
.so-form-section-title i { color: var(--gold); }

/* ── Select card sub-elements ─────────────────────────────── */
.so-select-card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(245,166,35,0.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  font-size: 22px; color: var(--gold);
  transition: var(--transition);
}
.so-select-card:hover .so-select-card-icon,
.so-select-card.selected .so-select-card-icon {
  background: var(--gold); color: #000;
}
.so-select-card-name {
  font-size: 14px; font-weight: 700; color: var(--txt); margin-bottom: 3px;
}
.so-select-card-sub {
  font-size: 11px; color: var(--txt-muted); margin: 0;
}

/* ── Gallery item + delete ────────────────────────────────── */
.so-gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  aspect-ratio: 1;
  cursor: pointer;
  transition: var(--transition);
}
.so-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
}
.so-gallery-item:hover { border-color: var(--gold); }
.so-gallery-del {
  position: absolute; top: 4px; right: 4px;
  background: rgba(220,53,69,.9); color: #fff;
  border-radius: 50%; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; text-decoration: none;
  transition: var(--transition);
}
.so-gallery-del:hover { background: #dc3545; color: #fff; transform: scale(1.1); }

/* ── Review item ──────────────────────────────────────────── */
.so-review-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.so-review-item:last-child { border-bottom: none; }
.so-review-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px; flex-wrap: wrap; gap: 8px;
}

/* ── Stat card value alias ────────────────────────────────── */
.so-stat-card-val {
  font-size: 26px; font-weight: 800; color: var(--txt); line-height: 1; margin-bottom: 2px;
}

/* ── Page banner overlay ──────────────────────────────────── */
.so-page-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.7), rgba(0,0,0,.5));
}

/* ── Info panel title alias ───────────────────────────────── */
.so-info-panel-title {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--txt-muted);
  display: flex; align-items: center; gap: 8px;
  margin: 0;
}
.so-info-panel-title i { color: var(--gold); }

/* ── Product card body/sub-elements ──────────────────────── */
.so-product-card > img,
.so-product-card-img {
  width: 100%; height: 150px; object-fit: cover;
  background: var(--surface-2);
}
.so-product-card-no-img {
  width: 100%; height: 150px;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--txt-muted); font-size: 32px;
}
.so-product-card-body { padding: 14px; }
.so-product-card-title { font-size: 14px; font-weight: 700; color: var(--txt); margin-bottom: 4px; }
.so-product-card-price { font-size: 17px; font-weight: 800; color: var(--gold); margin-bottom: 4px; }

/* ── Sidebar responsive (all.html layout) ─────────────────── */
@media (max-width: 900px) {
  .so-container > div[style*="grid-template-columns:280px"] {
    display: block !important;
  }
  .so-sidebar { margin-bottom: 20px; }
}

/* ── Map frame fix ────────────────────────────────────────── */
.so-map-frame iframe {
  width: 100%; height: 100%;
  border: 0; border-radius: var(--radius);
}
