/* ===========================
   ULTRAVENUS.COM — Main Stylesheet
   Pure CSS, No Frameworks
   =========================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  --primary: #FF6B35;
  --primary-dark: #E55A25;
  --primary-light: #FFF0E9;
  --secondary: #1B2A4A;
  --secondary-light: #2D4373;
  --accent: #FFD700;
  --bg: #F5F5F7;
  --bg-white: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-body: #374151;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.2s ease;
  --max-width: 1280px;
  --header-height: 140px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.section {
  padding: 48px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-body);
  padding: 8px 16px;
}

.btn-ghost:hover {
  background: var(--border-light);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-sale {
  background: var(--danger);
  color: #fff;
}

.badge-new {
  background: var(--success);
  color: #fff;
}

.badge-hot {
  background: var(--warning);
  color: #fff;
}

/* --- Top Bar --- */
.top-bar {
  background: var(--secondary);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar a {
  color: rgba(255,255,255,0.8);
}

.top-bar a:hover {
  color: #fff;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-right select {
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  cursor: pointer;
}

.top-bar-right select option {
  color: var(--text-dark);
}

/* --- Header --- */
.header-main {
  background: var(--bg-white);
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-main .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.search-bar {
  flex: 1;
  display: flex;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
  max-width: 600px;
}

.search-bar:focus-within {
  border-color: var(--primary);
}

.search-bar select {
  padding: 12px 16px;
  background: var(--border-light);
  color: var(--text-body);
  font-size: 0.85rem;
  border-right: 2px solid var(--border);
  cursor: pointer;
  min-width: 130px;
}

.search-bar input {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.9rem;
  min-width: 0;
}

.search-bar button {
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  transition: background var(--transition);
}

.search-bar button:hover {
  background: var(--primary-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  font-size: 0.72rem;
  color: var(--text-gray);
  position: relative;
}

.header-action:hover {
  background: var(--border-light);
  color: var(--text-dark);
}

.header-action svg {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
}

.header-action .count {
  position: absolute;
  top: 2px;
  right: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Nav Bar --- */
.nav-bar {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.nav-bar .container {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-categories-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  position: relative;
}

.nav-categories-btn svg {
  width: 18px;
  height: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.nav-links a {
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-links .deal-link {
  color: var(--danger);
  font-weight: 600;
}

/* Categories Mega Menu */
.categories-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  z-index: 999;
  padding: 8px 0;
}

.categories-dropdown.show {
  display: block;
}

.categories-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text-body);
  transition: all var(--transition);
}

.categories-dropdown a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.categories-dropdown a svg {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

/* --- Mobile Nav --- */
.mobile-menu-btn {
  display: none;
  padding: 8px;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: var(--bg-white);
  overflow-y: auto;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 16px;
  font-size: 1.5rem;
  color: var(--text-gray);
}

.mobile-nav-panel a {
  display: block;
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-panel a:hover {
  color: var(--primary);
}

/* --- Hero Banner --- */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  padding: 60px 0;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-label {
  display: inline-block;
  background: rgba(255,107,53,0.15);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  max-width: 460px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius-lg);
}

.hero-placeholder {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

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

.hero-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}

/* --- Promo Strip --- */
.promo-strip {
  background: var(--bg-white);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.promo-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  flex-wrap: wrap;
}

.promo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-body);
}

.promo-item svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  flex-shrink: 0;
}

.promo-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.promo-item span {
  font-size: 0.78rem;
  color: var(--text-gray);
}

/* --- Category Cards --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--border);
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.category-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.category-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.category-card p {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* --- Product Cards --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

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

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--border-light);
  overflow: hidden;
}

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

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

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.product-card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-card-action-btn {
  width: 36px;
  height: 36px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  font-size: 0.9rem;
  color: var(--text-gray);
}

.product-card-action-btn:hover {
  background: var(--primary);
  color: #fff;
}

.product-card-body {
  padding: 16px;
}

.product-card-category {
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-title a:hover {
  color: var(--primary);
}

.stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
}

.stars svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  fill: var(--accent);
}

.stars svg.empty {
  color: var(--border);
  fill: var(--border);
}

.stars span {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-left: 4px;
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.price-old {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-discount {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
}

.product-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card-footer .btn {
  flex: 1;
  padding: 10px;
  font-size: 0.8rem;
}

/* --- Flash Deal Cards --- */
.flash-deals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.flash-deals-header .section-title {
  margin-bottom: 0;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 8px;
}

.countdown-label {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 500;
}

.countdown-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  min-width: 40px;
}

.countdown-sep {
  font-weight: 700;
  color: var(--text-dark);
}

/* --- Scroll Row --- */
.scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroll-row::-webkit-scrollbar {
  height: 4px;
}

.scroll-row::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.scroll-row > * {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 240px;
}

/* --- Brands --- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.brand-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  min-height: 80px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-gray);
  letter-spacing: 1px;
}

.brand-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  color: var(--primary);
}

/* --- Reviews --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.review-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

.review-info .stars {
  margin-bottom: 0;
}

.review-card p {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.review-card .verified {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
  margin-top: 8px;
}

/* --- Newsletter --- */
.newsletter {
  background: var(--secondary);
  padding: 60px 0;
  text-align: center;
}

.newsletter h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.newsletter p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  font-size: 0.9rem;
  background: #fff;
  color: var(--text-dark);
}

.newsletter-form button {
  padding: 16px 28px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  margin-bottom: 12px;
  color: #fff;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition);
  color: rgba(255,255,255,0.7);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-icon {
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* --- Page Banner --- */
.page-banner {
  background: var(--secondary);
  padding: 40px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 8px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .sep {
  font-size: 0.7rem;
}

/* --- Filter Sidebar --- */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 32px 0;
}

.filter-sidebar {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 100px;
}

.filter-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.filter-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-section h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.85rem;
  color: var(--text-body);
  cursor: pointer;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.filter-option span {
  color: var(--text-light);
  margin-left: auto;
  font-size: 0.78rem;
}

.price-range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-range input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

/* --- Products Toolbar --- */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.products-toolbar p {
  font-size: 0.88rem;
  color: var(--text-gray);
}

.products-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-select {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-body);
  background: var(--bg-white);
  cursor: pointer;
}

.view-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.view-toggle button {
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--text-gray);
  transition: all var(--transition);
}

.view-toggle button.active,
.view-toggle button:hover {
  background: var(--primary);
  color: #fff;
}

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

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition);
  background: var(--bg-white);
}

.pagination a:hover,
.pagination span.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* --- Product Detail --- */
.product-detail {
  padding: 32px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
}

.product-gallery {
  display: flex;
  gap: 16px;
}

.product-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 72px;
  flex-shrink: 0;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--text-light);
  transition: border-color var(--transition);
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--primary);
}

.product-gallery-main {
  flex: 1;
  aspect-ratio: 1;
  background: var(--border-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 3rem;
  overflow: hidden;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.product-info .stars {
  margin-bottom: 16px;
}

.product-price-block {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.product-price-block .price-current {
  font-size: 1.8rem;
}

.product-meta {
  margin-bottom: 20px;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-light);
}

.product-meta-row strong {
  min-width: 120px;
  color: var(--text-dark);
}

.product-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.product-quantity label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-control button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-body);
  transition: background var(--transition);
}

.qty-control button:hover {
  background: var(--border-light);
}

.qty-control input {
  width: 50px;
  height: 36px;
  text-align: center;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.product-actions .btn {
  flex: 1;
}

/* --- Tabs --- */
.tabs {
  margin-top: 32px;
}

.tab-headers {
  display: flex;
  border-bottom: 2px solid var(--border);
}

.tab-header {
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

.tab-header.active {
  color: var(--primary);
}

.tab-header.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.tab-content {
  display: none;
  padding: 24px 0;
}

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

/* --- Auth Pages --- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--bg);
}

.auth-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow);
}

.auth-card .logo {
  justify-content: center;
  margin-bottom: 8px;
}

.auth-card h2 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.auth-card > p {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 18px;
}

.form-check input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.form-link {
  color: var(--primary);
  font-weight: 500;
}

.form-link:hover {
  text-decoration: underline;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 0.82rem;
  color: var(--text-light);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.social-login {
  display: flex;
  gap: 12px;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition);
}

.social-btn:hover {
  border-color: var(--text-gray);
  background: var(--border-light);
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* User type selector */
.user-type-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.user-type-option {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.85rem;
  font-weight: 500;
}

.user-type-option.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

/* --- Info Pages --- */
.info-page {
  padding: 48px 0;
}

.info-page .container {
  max-width: 860px;
}

.info-content {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.info-content h2 {
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.info-content h2:first-child {
  margin-top: 0;
}

.info-content p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.info-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: disc;
}

.info-content ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: background var(--transition);
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: var(--border-light);
}

.faq-question .icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: var(--text-gray);
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 18px;
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-card .icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-form-card h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

/* --- 404 --- */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-404 h1 {
  font-size: 6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}

.page-404 h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.page-404 p {
  color: var(--text-gray);
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Categories Page --- */
.categories-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 32px 0;
}

.category-page-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.category-page-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.category-page-card-image {
  height: 160px;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.category-page-card-body {
  padding: 20px;
}

.category-page-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.category-page-card-body p {
  font-size: 0.82rem;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.subcategory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.subcategory-links a {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: var(--border-light);
  border-radius: 100px;
  color: var(--text-gray);
  transition: all var(--transition);
}

.subcategory-links a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* --- Search Results --- */
.search-page {
  padding: 32px 0;
}

.search-header {
  margin-bottom: 24px;
}

.search-header h2 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.search-header p {
  color: var(--text-gray);
  font-size: 0.88rem;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.search-suggestions a {
  padding: 6px 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-body);
  transition: all var(--transition);
}

.search-suggestions a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* --- Subcategory chips --- */
.subcategory-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.subcategory-chip {
  padding: 8px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-body);
  transition: all var(--transition);
}

.subcategory-chip:hover,
.subcategory-chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* --- About Page --- */
.about-hero {
  text-align: center;
  padding: 48px 0;
}

.about-hero h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.about-hero p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.about-stat {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.about-stat h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-stat p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.about-value {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.about-value .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
}

.about-value h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.about-value p {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .products-layout {
    grid-template-columns: 220px 1fr;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: auto;
  }

  .top-bar {
    display: none;
  }

  .header-main .container {
    flex-wrap: wrap;
  }

  .search-bar {
    order: 3;
    max-width: 100%;
    flex: 0 0 100%;
    margin-top: 8px;
  }

  .search-bar select {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-bar {
    display: none;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    max-width: 100%;
  }

  .hero-stats {
    justify-content: center;
  }

  .products-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
    display: none;
  }

  .filter-sidebar.show {
    display: block;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    flex-direction: column-reverse;
  }

  .product-gallery-thumbs {
    flex-direction: row;
    width: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .auth-card {
    padding: 24px;
  }

  .social-login {
    flex-direction: column;
  }

  .user-type-selector {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-card-body {
    padding: 10px;
  }

  .price-current {
    font-size: 1rem;
  }

  .pagination {
    gap: 4px;
  }

  .pagination a,
  .pagination span {
    min-width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Placeholder Image Helper --- */
.img-placeholder {
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

/* Email verification success */
.auth-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: rgba(16,185,129,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--success);
}

/* ===========================
   DASHBOARD STYLES
   =========================== */

/* Dashboard Layout */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.dashboard-sidebar {
  width: 260px;
  background: var(--secondary);
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header .logo {
  color: #fff;
  font-size: 1.4rem;
}

.sidebar-user {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.sidebar-user-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.sidebar-user-info span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.sidebar-nav {
  padding: 16px 0;
}

.sidebar-nav-section {
  padding: 12px 20px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.sidebar-nav a.active {
  background: rgba(255,107,53,0.15);
  color: var(--primary);
  border-left-color: var(--primary);
}

.sidebar-nav a svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sidebar-nav a .badge {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 6px;
}

/* Dashboard Main Content */
.dashboard-main {
  flex: 1;
  margin-left: 260px;
  background: var(--bg);
  min-height: 100vh;
}

/* Dashboard Top Bar */
.dashboard-topbar {
  background: var(--bg-white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sidebar-toggle {
  display: none;
  padding: 8px;
  font-size: 1.3rem;
  color: var(--text-body);
  background: none;
  border: none;
  cursor: pointer;
}

.topbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  min-width: 280px;
}

.topbar-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.88rem;
}

.topbar-search svg {
  width: 18px;
  height: 18px;
  color: var(--text-light);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: all var(--transition);
  position: relative;
}

.topbar-icon-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.topbar-icon-btn svg {
  width: 20px;
  height: 20px;
}

.topbar-icon-btn .notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  border: 2px solid var(--bg-white);
}

.topbar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

/* Dashboard Content */
.dashboard-content {
  padding: 24px;
}

.dashboard-header {
  margin-bottom: 24px;
}

.dashboard-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.dashboard-header p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}

.stat-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.stat-card-icon.blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}

.stat-card-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.stat-card-icon.orange {
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary);
}

.stat-card-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
}

.stat-card-icon.red {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.stat-card-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 100px;
}

.stat-card-trend.up {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.stat-card-trend.down {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.stat-card-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.stat-card-label {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* Dashboard Cards */
.dash-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.dash-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-card-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

.dash-card-body {
  padding: 20px;
}

/* Dashboard Tables */
.dash-table {
  width: 100%;
  border-collapse: collapse;
}

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

.dash-table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-gray);
  background: var(--bg);
}

.dash-table td {
  font-size: 0.88rem;
  color: var(--text-body);
}

.dash-table tbody tr:hover {
  background: var(--border-light);
}

.dash-table .status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
}

.dash-table .status.delivered {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.dash-table .status.pending {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.dash-table .status.processing {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}

.dash-table .status.cancelled {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.dash-table .status.active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.dash-table .status.inactive {
  background: rgba(107, 114, 128, 0.1);
  color: var(--text-gray);
}

.dash-table .status.approved {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.dash-table .status.review {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

/* Chart Placeholder */
.chart-placeholder {
  background: var(--bg);
  border-radius: var(--radius-sm);
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-light);
}

.chart-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.chart-placeholder span {
  font-size: 0.85rem;
}

/* Bar Chart CSS */
.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 200px;
  padding-top: 20px;
}

.bar-chart-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bar-chart-bar {
  width: 100%;
  max-width: 40px;
  background: var(--primary);
  border-radius: 4px 4px 0 0;
  transition: height 0.3s ease;
}

.bar-chart-label {
  font-size: 0.7rem;
  color: var(--text-gray);
  text-align: center;
}

/* Mini Stats Row */
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.mini-stat {
  text-align: center;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.mini-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.mini-stat-label {
  font-size: 0.75rem;
  color: var(--text-gray);
}

/* Activity Feed */
.activity-feed {
  display: flex;
  flex-direction: column;
}

.activity-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.activity-icon.order {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}

.activity-icon.payment {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.activity-icon.user {
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
}

.activity-icon.alert {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.activity-content p {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 2px;
}

.activity-content time {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-align: center;
}

.quick-action:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.quick-action svg {
  width: 24px;
  height: 24px;
}

.quick-action span {
  font-size: 0.82rem;
  font-weight: 500;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.3s ease;
}

.progress-bar-fill.green {
  background: var(--success);
}

.progress-bar-fill.orange {
  background: var(--primary);
}

.progress-bar-fill.blue {
  background: #3B82F6;
}

/* System Health */
.system-health {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.health-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.health-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.health-indicator.online {
  background: var(--success);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.health-indicator.warning {
  background: var(--warning);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.health-indicator.offline {
  background: var(--danger);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.health-info {
  flex: 1;
}

.health-info h4 {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.health-info span {
  font-size: 0.75rem;
  color: var(--text-gray);
}

/* Dashboard Grid Layouts */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.dashboard-grid-full {
  grid-column: 1 / -1;
}

/* User List (Admin) */
.user-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.user-item:last-child {
  border-bottom: none;
}

.user-item-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.user-item-info {
  flex: 1;
}

.user-item-info h4 {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.user-item-info span {
  font-size: 0.75rem;
  color: var(--text-gray);
}

.user-item-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.user-item-badge.customer {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}

.user-item-badge.supplier {
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
}

/* Dashboard Responsive */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
  }

  .dashboard-sidebar.open {
    transform: translateX(0);
  }

  .dashboard-main {
    margin-left: 0;
  }

  .sidebar-toggle {
    display: block;
  }

  .topbar-search {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-content {
    padding: 16px;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .dash-table {
    font-size: 0.8rem;
  }

  .dash-table th,
  .dash-table td {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* Sidebar Overlay (Mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.sidebar-overlay.show {
  display: block;
}

/* ===========================
   MULTI-STEP FORM
   =========================== */

.form-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.form-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
}

.form-step.active .form-step-number {
  background: var(--primary);
  color: #fff;
}

.form-step.completed .form-step-number {
  background: var(--success);
  color: #fff;
}

.form-step-label {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 500;
}

.form-step.active .form-step-label {
  color: var(--text-dark);
}

.form-step-line {
  width: 40px;
  height: 2px;
  background: var(--border);
}

.form-step-line.completed {
  background: var(--success);
}

.form-section {
  display: none;
}

.form-section.active {
  display: block;
}

.form-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-steps {
    flex-wrap: wrap;
  }
  .form-step-label {
    display: none;
  }
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Image Upload Placeholder */
.image-upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  background: var(--bg);
  cursor: pointer;
  transition: all var(--transition);
}

.image-upload-zone:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.image-upload-zone svg {
  width: 48px;
  height: 48px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.image-upload-zone p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.image-upload-zone span {
  color: var(--text-light);
  font-size: 0.8rem;
}

.image-upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.image-preview-item {
  aspect-ratio: 1;
  background: var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.75rem;
  position: relative;
}

.image-preview-item .remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  background: var(--danger);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===========================
   ORDER STATUS STEPPER
   =========================== */

.order-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 32px 0;
}

.order-stepper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--border);
  z-index: 0;
}

.order-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.order-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all var(--transition);
}

.order-step-icon svg {
  width: 20px;
  height: 20px;
  color: var(--text-light);
}

.order-step.completed .order-step-icon {
  background: var(--success);
  border-color: var(--success);
}

.order-step.completed .order-step-icon svg {
  color: #fff;
}

.order-step.active .order-step-icon {
  background: var(--primary);
  border-color: var(--primary);
}

.order-step.active .order-step-icon svg {
  color: #fff;
}

.order-step-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-gray);
  text-align: center;
}

.order-step.completed .order-step-label,
.order-step.active .order-step-label {
  color: var(--text-dark);
}

.order-step-date {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 2px;
}

@media (max-width: 600px) {
  .order-stepper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .order-stepper::before {
    top: 0;
    bottom: 0;
    left: 19px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .order-step {
    flex-direction: row;
    gap: 12px;
  }
  .order-step-label {
    text-align: left;
  }
}

/* Order Items List */
.order-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.order-item-img {
  width: 80px;
  height: 80px;
  background: var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.order-item-details {
  flex: 1;
}

.order-item-details h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.order-item-details p {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.order-item-price {
  text-align: right;
}

.order-item-price .price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.order-item-price .qty {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* Order Summary */
.order-summary {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
}

.order-summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 16px;
  font-weight: 700;
  font-size: 1rem;
}

/* ===========================
   TABS COMPONENT
   =========================== */

.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.tab-btn {
  padding: 12px 20px;
  background: transparent;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-gray);
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
}

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

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

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.tab-content {
  display: none;
}

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

/* ===========================
   PROFILE FORMS
   =========================== */

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.profile-avatar-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.profile-info h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.profile-info p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.profile-section {
  margin-bottom: 32px;
}

.profile-section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* ===========================
   TOGGLE SWITCH
   =========================== */

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--border);
  border-radius: 100px;
  transition: all var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: all var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

/* Settings Row */
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.settings-row:last-child {
  border-bottom: none;
}

.settings-row-info h4 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.settings-row-info p {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* Commission Rate Input */
.commission-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.commission-input input {
  width: 80px;
  text-align: center;
}

.commission-input span {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Logo Upload */
.logo-upload {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-preview {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Action Buttons in Tables */
.action-btns {
  display: flex;
  gap: 6px;
}

.action-btn {
  padding: 6px 12px;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.action-btn.verify {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-color: var(--success);
}

.action-btn.verify:hover {
  background: var(--success);
  color: #fff;
}

.action-btn.suspend {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border-color: var(--danger);
}

.action-btn.suspend:hover {
  background: var(--danger);
  color: #fff;
}

.action-btn.edit {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
  border-color: #3B82F6;
}

.action-btn.edit:hover {
  background: #3B82F6;
  color: #fff;
}

.action-btn.delete {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border-color: var(--danger);
}

.action-btn.delete:hover {
  background: var(--danger);
  color: #fff;
}

/* Stock Status */
.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}

.stock-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.stock-status.in-stock .dot {
  background: var(--success);
}

.stock-status.in-stock {
  color: var(--success);
}

.stock-status.low-stock .dot {
  background: var(--warning);
}

.stock-status.low-stock {
  color: var(--warning);
}

.stock-status.out-of-stock .dot {
  background: var(--danger);
}

.stock-status.out-of-stock {
  color: var(--danger);
}

/* Back Button */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-gray);
  font-size: 0.88rem;
  margin-bottom: 16px;
  transition: color var(--transition);
}

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

.back-link svg {
  width: 18px;
  height: 18px;
}

/* ===========================
   BECOME SELLER PAGE
   =========================== */

.seller-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
  padding: 80px 0;
  color: #fff;
  text-align: center;
}

.seller-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.seller-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}

.seller-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
}

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

.seller-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.seller-stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 4px;
}

.why-sell {
  padding: 80px 0;
  background: var(--bg-white);
}

.why-sell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.why-sell-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}

.why-sell-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.why-sell-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--primary);
}

.why-sell-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.why-sell-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.how-it-works {
  padding: 80px 0;
}

.steps-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--border);
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.85rem;
  color: var(--text-gray);
  max-width: 180px;
  margin: 0 auto;
}

.seller-cta {
  background: var(--primary);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}

.seller-cta h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.seller-cta p {
  opacity: 0.9;
  margin-bottom: 24px;
}

.seller-cta .btn {
  background: #fff;
  color: var(--primary);
}

.seller-cta .btn:hover {
  background: var(--bg);
}

@media (max-width: 768px) {
  .seller-hero h1 {
    font-size: 1.75rem;
  }
  .seller-stats {
    flex-direction: column;
    gap: 24px;
  }
  .steps-timeline {
    flex-direction: column;
    gap: 32px;
  }
  .steps-timeline::before {
    display: none;
  }
}

/* ===========================
   FLASH DEALS PAGE
   =========================== */

.flash-hero {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  padding: 48px 0;
  color: #fff;
  text-align: center;
}

.flash-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.flash-hero p {
  opacity: 0.9;
  margin-bottom: 24px;
}

.flash-countdown {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.flash-countdown-item {
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  min-width: 80px;
}

.flash-countdown-num {
  font-size: 2rem;
  font-weight: 700;
}

.flash-countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.8;
}

.flash-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.flash-filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-white);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.flash-filter-btn:hover,
.flash-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

@media (max-width: 600px) {
  .flash-countdown {
    gap: 8px;
  }
  .flash-countdown-item {
    padding: 12px 14px;
    min-width: 60px;
  }
  .flash-countdown-num {
    font-size: 1.5rem;
  }
}

/* ===========================
   AFFILIATE & GIFT CARDS
   =========================== */

.program-hero {
  background: var(--secondary);
  padding: 64px 0;
  color: #fff;
  text-align: center;
}

.program-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.program-hero p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.program-content {
  padding: 64px 0;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.program-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.program-card-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.3rem;
  color: var(--primary);
}

.program-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.program-card p {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.gift-card-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.gift-card-item {
  background: linear-gradient(135deg, var(--primary) 0%, #ea580c 100%);
  border-radius: var(--radius);
  padding: 32px 24px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gift-card-item::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.gift-card-item .amount {
  font-size: 2rem;
  font-weight: 700;
  position: relative;
}

.gift-card-item .label {
  font-size: 0.85rem;
  opacity: 0.9;
  position: relative;
}

/* ===========================
   MAINTENANCE & COMING SOON
   =========================== */

.status-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.status-page.maintenance {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.status-page.coming-soon {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
  color: #fff;
}

.status-content {
  max-width: 500px;
}

.status-icon {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 3rem;
}

.status-page.maintenance .status-icon {
  background: rgba(245, 158, 11, 0.2);
  color: #b45309;
}

.status-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.status-content p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.6;
}

.status-content .logo {
  margin-bottom: 40px;
  font-size: 1.5rem;
}

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

.notify-form {
  display: flex;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.notify-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.notify-form button {
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.notify-form button:hover {
  background: var(--primary-dark);
}

@media (max-width: 480px) {
  .notify-form {
    flex-direction: column;
  }
}
