:root {
  --primary: #564b66;
  --primary-light: #7b6d91;
  --primary-dark: #3f364c;
  --white: #ffffff;
  --bg-light: #faf9fb;
  --text-dark: #2a2531;
  --text-muted: #7c7389;
  --border-color: rgba(86, 75, 102, 0.1);
  --success: #2e7d32;
  --accent-blue: #3a86ff;
  
  --shadow-sm: 0 4px 12px rgba(86, 75, 102, 0.03), 0 2px 4px rgba(86, 75, 102, 0.02);
  --shadow-md: 0 12px 32px rgba(86, 75, 102, 0.06), 0 4px 12px rgba(86, 75, 102, 0.03);
  --shadow-lg: 0 24px 48px rgba(86, 75, 102, 0.08), 0 8px 16px rgba(86, 75, 102, 0.04);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1200px;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

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

/* Typography Utility */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(86, 75, 102, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(86, 75, 102, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline {
  border-color: rgba(86, 75, 102, 0.2);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--white);
  border-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(245, 244, 247, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 16px;
  color: var(--text-dark);
  animation: fadeInUp 0.8s ease-out;
}

.hero-subheading {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Stats Bar */
.stats-bar {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 32px 0;
  position: relative;
  z-index: 10;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Section Common */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* How It Works */
.flows-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.flow-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.flow-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.flow-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.flow-title span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(86, 75, 102, 0.1);
  color: var(--primary);
  border-radius: 12px;
}

.flow-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
}

.flow-step:last-child {
  margin-bottom: 0;
}

.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 15px;
  bottom: -20px;
  width: 2px;
  background: var(--border-color);
  z-index: 1;
}

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 2;
}

.step-content {
  flex-grow: 1;
  padding-top: 4px;
}

.step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Value Props */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: transparent;
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.value-card:hover {
  background: var(--white);
  border-color: var(--border-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(86, 75, 102, 0.1) 0%, rgba(86, 75, 102, 0.05) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.value-icon svg {
  width: 32px;
  height: 32px;
}

/* Featured Listings */
.bg-white {
  background-color: var(--white);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(86, 75, 102, 0.02);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(86, 75, 102, 0.15);
}

.product-image {
  width: 100%;
  height: 240px;
  position: relative;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.condition-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--success);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 24px;
  line-height: 1.4;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.product-price span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  display: inline-block;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-link-group h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 24px;
}

.footer-link-group ul li {
  margin-bottom: 12px;
}

.footer-link-group ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Browse Page Layout */
.browse-page {
  padding-top: 120px;
  padding-bottom: 100px;
}

.browse-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* Sidebar Filters */
.sidebar-filters {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.filter-group {
  margin-bottom: 28px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.filter-item:hover {
  color: var(--primary);
}

.filter-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid #ccc;
  appearance: none;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.filter-checkbox:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.filter-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  cursor: pointer;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-input {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  font-family: inherit;
  font-size: 0.9rem;
}

.price-dash {
  color: var(--text-muted);
}

.clear-filters {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

.clear-filters:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

/* Product Grid Top Bar */
.grid-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.results-count {
  font-weight: 600;
  font-size: 1.1rem;
}

.sort-by {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Browse Grid */
.browse-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

/* Spec Line */
.product-specs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -16px;
  margin-bottom: 16px;
  display: block;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Dashboard Layout */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background-color: var(--bg-light);
}

.dashboard-sidebar {
  width: 280px;
  background-color: var(--text-dark);
  color: var(--white);
  flex-shrink: 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  padding: 32px 0;
  z-index: 100;
}

.dashboard-sidebar .logo {
  color: var(--white);
  padding: 0 32px;
  margin-bottom: 48px;
}

.dashboard-sidebar .logo span {
  color: #a797c2;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-nav-item:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-nav-item.active {
  color: var(--white);
  background: rgba(86, 75, 102, 0.2);
  border-left-color: var(--primary);
}

.dashboard-main {
  flex-grow: 1;
  margin-left: 280px;
  padding: 48px;
  padding-bottom: 120px; /* space for FAB button */
}

.dashboard-header {
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-header h1 {
  font-size: 2rem;
  color: var(--text-dark);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.dashboard-stat-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.stat-card-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.stat-card-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.dashboard-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
  overflow: hidden;
}

.dashboard-section-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-section-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th, .data-table td {
  padding: 16px 32px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: #faf9fb;
}

.data-table td {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.data-table tr:last-child td {
  border-bottom: none;
}



.table-action {
  color: var(--primary);
  font-weight: 500;
  margin-right: 16px;
  font-size: 0.9rem;
}

.table-action:hover {
  text-decoration: underline;
}

.table-action.danger {
  color: #d32f2f;
}

.updates-list {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.update-card {
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex;
  gap: 20px;
  transition: var(--transition);
}

.update-card:hover {
  box-shadow: var(--shadow-sm);
}

.update-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(86, 75, 102, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.update-content h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.update-content p {
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.update-timestamp {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.fab {
  position: fixed;
  bottom: 48px;
  right: 48px;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  padding: 16px 32px;
  font-size: 1rem;
}

/* Super Admin Specifics */
.badge-admin {
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* Tabs */
.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  padding: 0 32px;
  background: #faf9fb;
}

.tab-btn {
  padding: 16px 24px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--text-dark);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Action Buttons */
.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.btn-success {
  background: var(--success);
  color: var(--white);
}

.btn-success:hover {
  background: #235d25;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(46, 125, 50, 0.2);
}

.btn-danger {
  background: #d32f2f;
  color: var(--white);
}

.btn-danger:hover {
  background: #b71c1c;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(211, 47, 47, 0.2);
}

.table-action.success {
  color: var(--success);
}

/* Transactions Strip */
.transactions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 32px;
}

.transaction-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.transaction-strip:hover {
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.transaction-info {
  display: flex;
  align-items: center;
  gap: 32px;
}

.transaction-name {
  font-weight: 600;
  color: var(--text-dark);
}

.transaction-value {
  font-weight: 800;
  color: var(--success);
  font-size: 1.1rem;
}

.transaction-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .browse-layout {
    grid-template-columns: 240px 1fr;
    gap: 32px;
  }
  .browse-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 992px) {
  .hero h1 { font-size: 2.75rem; }
  .flows-container, .values-grid, .listings-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .dashboard-stats.grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  /* Global Adjustments */
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  
  /* Navbar */
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; gap: 12px; }
  .nav-actions .btn { padding: 8px 16px; font-size: 0.85rem; }
  
  /* Hero */
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: 2.25rem; line-height: 1.2; }
  .hero p { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; }
  
  /* Stats Container */
  .stats-container { 
    flex-direction: column; 
    gap: 0; 
    padding: 24px; 
    margin-top: -40px; 
  }
  .stat-item { 
    width: 100%; 
    padding: 16px 0; 
    border-right: none; 
    border-bottom: 1px solid var(--border-color); 
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .stat-item:last-child { border-bottom: none; }

  /* Browse View */
  .browse-layout { grid-template-columns: 1fr; gap: 24px; }
  .sidebar-filters { position: static; margin-bottom: 24px; overflow-x: auto; display: flex; flex-direction: column; gap: 16px;}
  .browse-products-grid { grid-template-columns: 1fr; }
  .grid-top-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
  
  /* Dashboard / Super Admin Layout */
  .dashboard-layout { flex-direction: column; height: auto; }
  .dashboard-sidebar { 
    position: static; 
    width: 100%; 
    height: auto; 
    padding: 24px 16px; 
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .sidebar-nav { 
    display: flex; 
    flex-direction: row; 
    overflow-x: auto; 
    padding-bottom: 12px; 
    gap: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .sidebar-nav-item { 
    padding: 10px 16px; 
    border-radius: 20px; 
    white-space: nowrap; 
    margin-bottom: 0;
  }
  .dashboard-sidebar > div[style*="position: absolute"] { 
    position: static !important; 
    margin-top: auto; 
  }
  
  .dashboard-main { padding: 24px 16px; margin-left: 0; height: auto; overflow: visible;}
  .dashboard-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dashboard-header h1 { font-size: 1.5rem; }
  
  .dashboard-stats, .dashboard-stats.grid-3 { grid-template-columns: 1fr !important; gap: 16px; }
  
  .dashboard-section { padding: 16px; border-radius: 12px; margin-bottom: 24px; }
  .dashboard-section-header { padding: 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
  
  /* Inner Components */
  .update-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tabs-nav { flex-direction: row; overflow-x: auto; white-space: nowrap; padding: 0 16px; -webkit-overflow-scrolling: touch;}
  .tab-btn { padding: 12px 16px; font-size: 0.9rem; }
  
  .transaction-strip { flex-direction: column; align-items: flex-start; gap: 16px; padding: 16px;}
  .transaction-info { flex-direction: column; align-items: flex-start; gap: 8px; }
  
  /* Footer */
  .footer-content { flex-direction: column; gap: 40px; }
  .footer-links { flex-direction: column; gap: 32px; width: 100%; }
}

/* Utilities */
.hide-mobile {
  display: block;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
  
  /* Simplify tables on mobile */
  .data-table th:nth-child(2),
  .data-table td:nth-child(2),
  .data-table th:nth-child(3),
  .data-table td:nth-child(3) {
    display: none;
  }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.status-published, .status-active {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-pending {
  background: #fff3e0;
  color: #ef6c00;
}

.status-draft {
  background: #f5f5f5;
  color: #757575;
}

.status-sold, .status-closed {
  background: #e3f2fd;
  color: #1976d2;
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .hero-subheading { font-size: 1.1rem; }
  
  .data-table th, .data-table td { padding: 12px; font-size: 0.85rem; }
  .table-action { font-size: 0.8rem; margin-right: 8px; }
  
  .product-image { height: 200px; }
  .nav-actions { display: flex; flex-direction: column; }
  .nav-actions .nav-link { display: none; }
}
