/* MelakuStore - Modern Obsidian & Gold Marketplace Stylesheet (Hossana & Southern Ethiopia) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&family=Noto+Sans+Ethiopic:wght@300;400;500;600;700&display=swap');

:root {
  /* Modern Obsidian & Champagne Gold Palette */
  --obsidian: #090c12;
  --midnight: #0f1624;
  --surface-dark: #162032;
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --gold: #d4af37;
  --gold-light: #f3e5ab;
  --gold-hover: #b89726;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-gold: rgba(212, 175, 55, 0.35);
  --success: #059669;
  --success-bg: #d1fae5;
  --warning: #d97706;
  --warning-bg: #fef3c7;
  --danger: #dc2626;
  --danger-bg: #fee2e2;
  --info: #0284c7;
  --info-bg: #e0f2fe;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.12), 0 6px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-gold: 0 20px 40px -8px rgba(212, 175, 55, 0.2);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1280px;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-amharic: 'Noto Sans Ethiopic', 'Plus Jakarta Sans', sans-serif;
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-border: rgba(0, 0, 0, 0.08);
}

/* Day / Night Dark Theme Mode */
[data-theme="dark"] {
  --bg-page: #090c12;
  --bg-card: #0f1624;
  --surface-dark: #162032;
  --primary: #f8fafc;
  --primary-hover: #e2e8f0;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --border-color: #1e293b;
  --border-gold: rgba(212, 175, 55, 0.4);
  --header-bg: rgba(9, 12, 18, 0.95);
  --header-border: rgba(212, 175, 55, 0.2);
}

[data-theme="dark"] .header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

[data-theme="dark"] .navbar {
  color: #ffffff;
}

[data-theme="dark"] .nav-brand {
  color: #ffffff !important;
}

[data-theme="dark"] .nav-link {
  color: #94a3b8;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: var(--gold);
}

[data-theme="dark"] .btn-primary {
  background: var(--gold) !important;
  color: #090c12 !important;
  font-weight: 800 !important;
  border: 1px solid var(--gold-light) !important;
}

[data-theme="dark"] .btn-primary *,
[data-theme="dark"] .btn-primary span,
[data-theme="dark"] .btn-primary svg {
  color: #090c12 !important;
  stroke: #090c12 !important;
}

[data-theme="dark"] .btn-primary:hover {
  background: var(--gold-light) !important;
  color: #090c12 !important;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.45);
}

[data-theme="dark"] .btn-primary:hover * {
  color: #090c12 !important;
  stroke: #090c12 !important;
}

[data-theme="dark"] .btn-gold,
.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #c59b27 100%) !important;
  color: #090c12 !important;
  font-weight: 800 !important;
  border: 1px solid var(--gold-light) !important;
}

[data-theme="dark"] .btn-gold *,
[data-theme="dark"] .btn-gold span,
[data-theme="dark"] .btn-gold svg,
.btn-gold *,
.btn-gold span,
.btn-gold svg {
  color: #090c12 !important;
  stroke: #090c12 !important;
}

[data-theme="dark"] .btn-gold:hover,
.btn-gold:hover {
  background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 100%) !important;
  color: #090c12 !important;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.45) !important;
}

[data-theme="dark"] .btn-gold:hover *,
.btn-gold:hover * {
  color: #090c12 !important;
  stroke: #090c12 !important;
}

[data-theme="dark"] .btn-outline {
  background: #162032 !important;
  border: 1px solid #334155 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .btn-outline *,
[data-theme="dark"] .btn-outline span,
[data-theme="dark"] .btn-outline svg {
  color: #f8fafc !important;
  stroke: #f8fafc !important;
}

[data-theme="dark"] .btn-outline:hover {
  background: #1e293b !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

[data-theme="dark"] .btn-outline:hover * {
  color: var(--gold) !important;
  stroke: var(--gold) !important;
}

[data-theme="dark"] .filter-sidebar {
  background: #0f1624 !important;
  border: 1px solid #1e293b !important;
  color: #f8fafc !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .filter-title {
  color: var(--gold) !important;
  font-weight: 800 !important;
}

[data-theme="dark"] .filter-item,
[data-theme="dark"] .filter-item span {
  color: #f8fafc !important;
}

[data-theme="dark"] .filter-item:hover,
[data-theme="dark"] .filter-item:hover span {
  color: var(--gold) !important;
}

[data-theme="dark"] .filter-group {
  border-bottom: 1px solid #1e293b !important;
}

[data-theme="dark"] .nav-search input {
  background: #162032 !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .nav-search input::placeholder {
  color: #94a3b8 !important;
}

[data-theme="dark"] .product-thumb {
  background: #162032 !important;
}

[data-theme="dark"] .product-name {
  color: #f8fafc !important;
}

[data-theme="dark"] .product-category {
  color: #94a3b8 !important;
}

[data-theme="dark"] .vendor-badge {
  color: var(--gold) !important;
}

[data-theme="dark"] .category-card {
  background: #0f1624 !important;
  border: 1px solid #1e293b !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .category-card:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .category-icon {
  background: #162032 !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  color: var(--gold) !important;
}

[data-theme="dark"] .category-card:hover .category-icon {
  background: var(--gold) !important;
  color: #090c12 !important;
}

[data-theme="dark"] .category-title {
  color: #f8fafc !important;
}

[data-theme="dark"] .section-highlight {
  background: #0c1018 !important;
  border-top: 1px solid #1e293b !important;
  border-bottom: 1px solid #1e293b !important;
}

[data-theme="dark"] .section-title,
[data-theme="dark"] .price-current,
[data-theme="dark"] .summary-row.total,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
  color: #f8fafc !important;
}

[data-theme="dark"] .action-link:hover {
  background: #162032;
  color: var(--gold);
}

[data-theme="dark"] .lang-switcher {
  background: #162032;
  border-color: rgba(212, 175, 55, 0.3);
}

[data-theme="dark"] .lang-btn {
  color: #94a3b8;
}

[data-theme="dark"] .lang-btn.active {
  background: var(--gold);
  color: #090c12;
}

[data-theme="dark"] .product-card,
[data-theme="dark"] .cart-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .admin-card,
[data-theme="dark"] .stat-card {
  background: #0f1624;
  border-color: #1e293b;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea {
  background: #162032;
  border-color: #334155;
  color: #ffffff;
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] .form-textarea:focus {
  border-color: var(--gold);
  background: #162032;
}

[data-theme="dark"] .btn-outline {
  border-color: #334155;
  color: #f8fafc;
}

[data-theme="dark"] .btn-outline:hover {
  background: #1e293b;
  border-color: var(--gold);
  color: var(--gold);
}

[data-theme="dark"] .footer {
  background: #06080d;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

[data-theme="dark"] .theme-toggle-btn {
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--gold);
}

[lang="am"] {
  font-family: var(--font-amharic);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }
.icon-xl { width: 36px; height: 36px; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Announcement Top Bar */
.announcement-bar {
  background: var(--obsidian);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.seller-top-link {
  color: var(--gold);
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.seller-top-link:hover {
  color: #fff;
}

/* Header & Navigation */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 1.75rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--obsidian);
  letter-spacing: -0.5px;
}

.brand-crown {
  color: var(--gold);
}

.brand-badge {
  background: linear-gradient(135deg, #d4af37 0%, #b89726 100%);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.nav-search input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #f1f5f9;
  outline: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-search input:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.nav-search .search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-hover);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.lang-btn {
  padding: 0.35rem 0.7rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--obsidian);
  color: var(--gold-light);
}

.action-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
}

.action-link:hover {
  background: #f1f5f9;
  color: var(--obsidian);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modern Hero Section */
.hero {
  background: linear-gradient(135deg, #090c12 0%, #111827 50%, #1a2234 100%);
  color: #fff;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.hero::before {
  content: '';
  position: absolute;
  right: -5%;
  top: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  color: #ffffff;
}

[lang="am"] .hero-title {
  font-family: var(--font-amharic);
  font-size: 2.7rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2.25rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-badge-wrap {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--obsidian);
  color: #fff;
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.btn-primary:hover {
  background: var(--midnight);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #c59b27 100%);
  color: #000;
  font-weight: 800;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #e5c358 0%, #d4af37 100%);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--border-color);
  background: #fff;
  color: var(--text-main);
}
.btn-outline:hover {
  background: #f8fafc;
  border-color: var(--obsidian);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--obsidian);
  letter-spacing: -0.5px;
}

[lang="am"] .section-title {
  font-family: var(--font-amharic);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.35rem;
}

/* Product Cards & Modern Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}

.product-thumb {
  position: relative;
  width: 100%;
  padding-top: 80%;
  background: #f1f5f9;
  overflow: hidden;
}

.product-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--obsidian);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-info {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vendor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-hover);
  margin-bottom: 0.4rem;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: auto;
  margin-bottom: 1.1rem;
}

.price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--obsidian);
}

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

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

.category-card {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

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

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--surface-dark);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.category-card:hover .category-icon {
  background: var(--gold);
  color: #090c12;
}

.category-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.section-highlight {
  background: #f1f5f9;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Marketplace Banner */
.marketplace-cta-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #fff;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
  margin: 2rem 0;
}

.marketplace-cta-card::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Catalog Filter Layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.25rem;
  align-items: start;
}

.filter-sidebar {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 98px;
  box-shadow: var(--shadow-sm);
}

.filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

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

.filter-title {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.filter-item input[type="radio"], .filter-item input[type="checkbox"] {
  accent-color: var(--gold-hover);
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #fff;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Cart & Checkout Layout */
.cart-layout, .checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.25rem;
  align-items: start;
}

.cart-card, .summary-card, .auth-card {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: #f1f5f9;
}

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

.qty-btn {
  background: #f8fafc;
  border: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.qty-btn:hover { background: #e2e8f0; }

.qty-input {
  width: 48px;
  height: 34px;
  border: none;
  text-align: center;
  font-weight: 700;
  background: #fff;
  outline: none;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.summary-row.total {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--obsidian);
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

/* Payment Cards */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.payment-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.payment-card:hover {
  border-color: #cbd5e1;
}

.payment-card.active {
  border-color: var(--gold);
  background: #fdfbf7;
}

/* Account Layout */
.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.25rem;
}

.account-sidebar {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.account-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.account-menu-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.account-menu-item:hover, .account-menu-item.active {
  background: #f1f5f9;
  color: var(--gold-hover);
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: capitalize;
}

.badge-pending { background: var(--warning-bg); color: var(--warning); }
.badge-confirmed { background: var(--info-bg); color: var(--info); }
.badge-processing { background: #f3e8ff; color: #7e22ce; }
.badge-shipped { background: #e0e7ff; color: #3730a3; }
.badge-delivered, .badge-paid, .badge-active { background: var(--success-bg); color: var(--success); }
.badge-cancelled, .badge-failed, .badge-inactive { background: var(--danger-bg); color: var(--danger); }

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--obsidian);
  color: #fff;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  min-width: 300px;
  border-left: 4px solid var(--gold);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Regional Marketplace Footer */
.footer {
  background: var(--obsidian);
  color: #94a3b8;
  margin-top: auto;
  padding: 4.5rem 0 2.5rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
  letter-spacing: 0.3px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a:hover {
  color: var(--gold);
}

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

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
  .catalog-layout { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .nav-search { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.1rem; }
  .cart-item { grid-template-columns: 70px 1fr; }
}
