:root {
  --primary: #ff5e5e;
  --light-bg: #f8f9fa;
  --dark-bg: #1e1e2f;
  --light-text: #212529;
  --dark-text: #f1f1f1;
  --card-radius: 16px;
  --shadow-light: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 4px 16px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s ease;
}

html[data-bs-theme="light"] {
  --bg: var(--light-bg);
  --text: var(--light-text);
  --card-shadow: var(--shadow-light);
}

html[data-bs-theme="dark"] {
  --bg: var(--dark-bg);
  --text: var(--dark-text);
  --card-shadow: var(--shadow-dark);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.navbar {
  background-color: transparent;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

.navbar .nav-link,
.navbar .btn-outline-secondary {
  color: var(--text);
  border-color: var(--text);
}

.search-input {
  border-radius: 30px;
  padding: 0.6rem 1rem;
}

.side-menu {
  background-color: rgba(0, 0, 0, 0.03);
  padding: 1rem;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.category-link {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: 0.875rem;
  margin: 4px;
}

.main-title {
  font-size: 1.8rem;
  font-weight: 700;
}

.product-card {
  background-color: var(--bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

.kvddahil {
  font-size: 0.8rem;
  color: gray;
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 30px;
  text-align: center;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
}

.star-rating i {
  font-size: 1rem;
}

.footer {
  padding: 2rem 0;
  background: rgba(0,0,0,0.05);
  color: var(--text);
  border-top: 1px solid rgba(0,0,0,0.1);
}

.footer .social a {
  color: var(--text);
  margin: 0 10px;
  font-size: 1.2rem;
  transition: var(--transition);
}

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

.footer-note {
  text-align: center;
  font-size: 0.8rem;
  color: gray;
  margin-top: 10px;
}
