:root {
  --primary-color: #dc3545;
  --secondary-color: #f8f9fa;
  --dark-color: #212529;
  --light-color: #ffffff;
  --text-muted: #6c757d;
}

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

html,
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--light-color);
  color: var(--dark-color);
  line-height: 1.6;
}

.hero-section {
  background: linear-gradient(135deg, #333 0%, #212529 100%);
  padding: 80px 20px;
  text-align: center;
}

.hero-section h1 {
  color: var(--light-color);
  font-weight: 700;
  letter-spacing: -1px;
}

.hero-section .lead {
  color: #ddd;
  font-size: 1.2rem;
}

.category-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(220, 53, 69, 0.2) !important;
}

.category-card img {
  height: 250px;
  object-fit: cover;
}

.product-card {
  transition: all 0.3s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

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

.feature-icon {
  font-size: 2.5rem;
}

.value-card {
  background-color: var(--light-color);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--primary-color);
}

.border-left-danger {
  border-left: 4px solid var(--primary-color) !important;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-color);
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner.hidden {
  display: none;
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.sticky-top {
  top: 0;
}

.btn-danger {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

.btn-outline-danger {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-danger:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-color);
}

.text-danger {
  color: var(--primary-color) !important;
}

.bg-light {
  background-color: var(--secondary-color) !important;
}

.bg-dark {
  background-color: var(--dark-color) !important;
}

a.text-danger:hover {
  color: #c82333 !important;
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color) !important;
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 0.375rem;
  padding: 0.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.alert {
  border-radius: 0.5rem;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 50px 15px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .container {
    padding: 0 15px;
  }

  .cookie-banner {
    position: static;
    margin-top: 20px;
  }

  .cookie-banner .row {
    flex-direction: column;
  }

  .cookie-banner .col-md-4 {
    text-align: center;
    margin-top: 10px;
  }

  .cookie-banner .btn {
    display: block;
    width: 100%;
    margin: 5px 0;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.5rem;
  }

  .lead {
    font-size: 1rem;
  }

  .card {
    margin-bottom: 20px;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }
}
