/* EasyShop9ja - Green Theme */

body { font-family: 'Inter', sans-serif; }
.font-playfair { font-family: 'Playfair Display', serif; }

/* Gradient backgrounds */
.hero-gradient {
  background: linear-gradient(135deg, #052e16 0%, #14532d 40%, #0f2027 100%);
}
.luxury-gradient {
  background: linear-gradient(135deg, #14532d 0%, #052e16 100%);
}
.colorful-gradient {
  background: linear-gradient(135deg, #16a34a 0%, #4ade80 50%, #bbf7d0 100%);
}
.teal-gradient {
  background: linear-gradient(135deg, #0d9488 0%, #059669 100%);
}
.coral-gradient {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

/* Shimmer animations */
.gold-shimmer {
  background: linear-gradient(90deg, #16a34a, #4ade80, #16a34a);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}
.color-shimmer {
  background: linear-gradient(90deg, #16a34a, #0d9488, #059669, #22c55e, #16a34a);
  background-size: 300% auto;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% center }
  100% { background-position: 200% center }
}

/* Card effects */
.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Scrollbar */
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* Toast notifications */
#toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
}
.toast { animation: slideIn 0.3s ease; }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Modal */
.modal-overlay { backdrop-filter: blur(4px); }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% auto;
  animation: skeleton 1.5s linear infinite;
}
@keyframes skeleton {
  0% { background-position: 200% center }
  100% { background-position: 0% center }
}

/* Logo - Modern text-based */
.logo-modern {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -1px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}
.logo-text {
  font-weight: 800;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #16a34a, #15803d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}
.logo-text-light {
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
  letter-spacing: -0.5px;
}
.logo-badge {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #4ade80;
  margin-top: -4px;
}

/* Navigation */
.nav-link {
  transition: color 0.2s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #16a34a, #0d9488);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* Product cards */
.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.12);
}
.product-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-luxury {
  background: linear-gradient(135deg, #6d28d9, #4c1d95);
  color: white;
}
.badge-featured { background: #16a34a; color: white; }
.badge-sale { background: #dc2626; color: white; }
.badge-new { background: #0d9488; color: white; }

/* Currency badge */
.currency-ngn { color: #16a34a; font-weight: 700; }
.currency-usd { color: #15803d; font-weight: 700; }
.currency-toggle {
  display: inline-flex;
  background: #f3f4f6;
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}
.currency-toggle button {
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.currency-toggle button.active {
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  color: #16a34a;
}

/* Hero section */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide.inactive { opacity: 0; z-index: 1; }

/* Video modal */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}
.video-container {
  position: relative;
  width: 90vw;
  max-width: 900px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
video {
  width: 100%;
  max-height: 70vh;
  background: #000;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Blog cards */
.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.blog-category-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
}
.blog-content h2, .blog-content h3 { 
  font-family: 'Playfair Display', serif;
  margin: 1.5rem 0 0.75rem;
  color: #1f2937;
}
.blog-content p { margin: 1rem 0; line-height: 1.8; color: #374151; }
.blog-content ul, .blog-content ol { padding-left: 1.5rem; margin: 1rem 0; }
.blog-content li { margin: 0.5rem 0; color: #374151; }
.blog-content a { color: #16a34a; text-decoration: underline; }
.blog-content img { max-width: 100%; border-radius: 12px; margin: 1.5rem 0; }

/* Upload area */
.upload-zone {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: #16a34a;
  background: #f0fdf4;
}
.upload-progress {
  height: 6px;
  background: #f3f4f6;
  border-radius: 3px;
  overflow: hidden;
}
.upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #16a34a, #0d9488);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Admin sidebar */
.admin-sidebar {
  width: 260px;
  background: linear-gradient(180deg, #052e16 0%, #14532d 100%);
  min-height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  overflow-y: auto;
  transition: transform 0.3s ease;
}
.admin-content {
  margin-left: 260px;
  min-height: 100vh;
  background: #f8fafc;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: rgba(255,255,255,0.7);
  border-radius: 8px;
  margin: 2px 8px;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(255,255,255,0.15);
  color: white;
}
.admin-nav-item.active {
  background: linear-gradient(135deg, #16a34a, #15803d);
}
.admin-stat-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

/* Rich text editor */
.rich-editor {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}
.rich-editor-toolbar {
  background: #f9fafb;
  padding: 8px 12px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.rich-editor-toolbar button {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: white;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.15s;
}
.rich-editor-toolbar button:hover { background: #16a34a; color: white; border-color: #16a34a; }
.rich-editor-body {
  min-height: 300px;
  padding: 1rem;
  outline: none;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Table styles */
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th {
  background: #f8fafc;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  border-bottom: 1px solid #e5e7eb;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.875rem;
  color: #374151;
}
.data-table tr:hover td { background: #fafafa; }

/* Status badges */
.status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-published { background: #dcfce7; color: #16a34a; }
.status-draft { background: #f3f4f6; color: #6b7280; }
.status-paid { background: #dcfce7; color: #16a34a; }
.status-pending { background: #fef9c3; color: #a16207; }
.status-cancelled { background: #fee2e2; color: #dc2626; }
.status-shipped { background: #dcfce7; color: #15803d; }

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4);
}
.btn-secondary {
  background: white;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.btn-secondary:hover { background: #f9fafb; }

/* Colorful category icons */
.cat-icon-fashion { background: linear-gradient(135deg, #16a34a, #0d9488); }
.cat-icon-electronics { background: linear-gradient(135deg, #15803d, #0d9488); }
.cat-icon-luxury { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.cat-icon-beauty { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.cat-icon-home { background: linear-gradient(135deg, #0d9488, #059669); }
.cat-icon-sports { background: linear-gradient(135deg, #16a34a, #0d9488); }
.cat-icon-books { background: linear-gradient(135deg, #d97706, #f59e0b); }
.cat-icon-cars { background: linear-gradient(135deg, #374151, #1f2937); }
.cat-icon-toys { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.cat-icon-blog { background: linear-gradient(135deg, #16a34a, #15803d); }

/* Mobile responsive */
@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
    width: 240px;
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-content {
    margin-left: 0;
  }
}

/* Demo video banner */
.demo-video-banner {
  background: linear-gradient(135deg, #052e16 0%, #16a34a 30%, #0d9488 70%, #14532d 100%);
  padding: 3rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.demo-video-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.play-button {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.play-button:hover {
  transform: scale(1.1);
  background: white;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.play-button i {
  color: #16a34a;
  font-size: 1.5rem;
  margin-left: 4px;
}

/* Footer colorful */
.footer-colorful {
  background: linear-gradient(135deg, #052e16 0%, #1f2937 60%, #14532d 100%);
}

/* Trending tag colors */
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

/* Rating stars */
.star-filled { color: #fbbf24; }
.star-empty { color: #d1d5db; }

/* Price display */
.price-main { font-size: 1.5rem; font-weight: 800; color: #16a34a; }
.price-original { font-size: 0.9rem; color: #9ca3af; text-decoration: line-through; }
.price-usd-display { font-size: 0.85rem; color: #15803d; font-weight: 600; }
.price-savings {
  font-size: 0.75rem;
  font-weight: 700;
  background: #dcfce7;
  color: #16a34a;
  padding: 2px 8px;
  border-radius: 20px;
}

/* Animated counter */
.counter-animate {
  animation: countUp 0.8s ease-out;
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Input styles */
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}
.form-input:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}
.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  display: block;
}

/* Image gallery */
.img-gallery-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}
.img-gallery-thumb.active { border-color: #16a34a; }
.img-gallery-thumb:hover { border-color: #16a34a; }

/* Green theme overrides for Tailwind */
.text-brand-600 { color: #16a34a !important; }
.bg-brand-600 { background-color: #16a34a !important; }
.border-brand-400 { border-color: #4ade80 !important; }
.hover\:bg-brand-700:hover { background-color: #15803d !important; }
.bg-brand-50 { background-color: #f0fdf4 !important; }
.bg-brand-100 { background-color: #dcfce7 !important; }
.text-brand-700 { color: #15803d !important; }
.border-brand-600 { border-color: #16a34a !important; }
.hover\:text-brand-600:hover { color: #16a34a !important; }
.hover\:text-brand-800:hover { color: #166534 !important; }
.focus\:border-brand-400:focus { border-color: #4ade80 !important; }
.hover\:border-brand-500:hover { border-color: #22c55e !important; }
.hover\:border-brand-300:hover { border-color: #86efac !important; }
.hover\:bg-brand-50:hover { background-color: #f0fdf4 !important; }
.border-brand-300 { border-color: #86efac !important; }
.bg-brand-700 { background-color: #15803d !important; }
.shadow-brand { box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3) !important; }
.ring-brand-200 { --tw-ring-color: rgba(74, 222, 128, 0.3) !important; }
.focus\:ring-brand-200:focus { --tw-ring-color: rgba(74, 222, 128, 0.3) !important; }
