:root {
  --primary-color: #2e8b57;
  --secondary-color: #3cb371;
  --light-color: #f5f5f5;
  --dark-color: #333;
  --border-radius: 10px;
  --box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

body {
  background-color: #f8f9fa;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.header-text {
  flex: 1;
  min-width: 300px;
}

.header-actions {
  flex-shrink: 0;
}

.product-card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  margin-bottom: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.product-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.product-price {
  color: #e67e22;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.product-warranty {
  color: #3498db;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.product-summary {
  color: #666;
  line-height: 1.5;
  flex-grow: 1;
}

.card-footer {
  background-color: #fff;
  border-top: 1px solid #eee;
  padding: 0.75rem 1rem;
}

.action-buttons {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.action-buttons .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
}

.btn-brand-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-brand-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: #666;
}

.filter-section {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

.stats-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.stats-card:hover {
  transform: translateY(-3px);
}

.stats-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stats-label {
  color: #666;
  font-size: 0.9rem;
}

.search-box {
  width: 100%;
}

footer {
  margin-top: 4rem;
}

.empty-results {
  text-align: center;
  padding: 3rem;
  display: none;
}

.search-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }

  .action-buttons {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .action-buttons .btn {
    flex: 1;
    min-width: 80px;
    font-size: 0.8rem;
  }
}
