@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;600;700&display=swap');

:root {
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --amber-400: #fbbf24;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body {
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Language switcher - light theme */
.lang-dropdown { position: relative; }
.lang-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 160px;
  z-index: 50;
}
[dir="rtl"] .lang-dropdown-menu { right: auto; left: 0; }
.lang-dropdown.open .lang-dropdown-menu { display: block; }

/* Product cards - light theme */
.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  border-color: rgba(14, 165, 233, 0.5);
}

/* Discount badge */
.discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
}
[dir="rtl"] .discount-badge { left: auto; right: 8px; }

/* Rating stars */
.star-filled { color: #fbbf24; }
.star-empty { color: #d1d5db; }

/* Filter buttons - light theme */
.filter-btn {
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn.active {
  background-color: var(--sky-500) !important;
  color: white !important;
  border-color: var(--sky-500) !important;
}
.filter-btn:hover:not(.active) {
  border-color: var(--sky-500);
  color: var(--sky-500);
}

/* Telegram CTA sticky */
.telegram-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.telegram-sticky.visible { transform: translateY(0); }

@media (min-width: 768px) {
  .telegram-sticky { display: none; }
}

/* Fade in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Blog post content - light theme */
.blog-content h2 { margin-top: 2rem; margin-bottom: 1rem; color: #1f2937; }
.blog-content p { margin-bottom: 1rem; line-height: 1.75; color: #4b5563; }
.blog-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
[dir="rtl"] .blog-content ul { padding-left: 0; padding-right: 1.5rem; }
.blog-content li { margin-bottom: 0.5rem; color: #4b5563; }

/* Navigation active - sky theme */
.nav-link.active { color: var(--sky-500); font-weight: 600; }

/* Breadcrumbs */
.breadcrumb-separator::before { content: '/'; margin: 0 0.5rem; color: #9ca3af; }
[dir="rtl"] .breadcrumb-separator::before { content: '\'; }

/* Custom scrollbar for light theme */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f9ff; }
::-webkit-scrollbar-thumb { background: #bae6fd; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #7dd3fc; }

/* Selection color */
::selection {
  background-color: rgba(14, 165, 233, 0.3);
  color: #0c4a6e;
}

/* Print */
@media print {
  .telegram-sticky, .telegram-cta, nav, .lang-dropdown, footer { display: none !important; }
  body { background: white !important; color: black !important; }
}
