:root {
  --primary-blue: #0052cc;
  --primary-blue-dark: #003d99;
  --secondary-blue: #0079e8;
  --text-dark: #1a1a1a;
  --text-muted: #666666;
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
}

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

html,
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-blue-dark);
  text-decoration: none;
}

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

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

.btn-primary {
  background-color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  color: white !important;
}

.btn-primary:hover {
  background-color: var(--primary-blue-dark) !important;
  border-color: var(--primary-blue-dark) !important;
}

.btn-outline-primary {
  color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  color: white !important;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 82, 204, 0.15) !important;
}

.badge-primary {
  background-color: var(--primary-blue) !important;
  color: white !important;
}

.form-control {
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 82, 204, 0.25);
  outline: none;
}

.form-check-input {
  border-color: var(--border-color);
}

.form-check-input:checked {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

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

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

.border-bottom {
  border-bottom-color: var(--border-color) !important;
}

.shadow-sm {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.shadow-sm:hover {
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.1) !important;
}

.icon-lg {
  width: 48px;
  height: 48px;
  color: var(--primary-blue);
  stroke-width: 1.5;
}

.product-card {
  border-radius: 0.5rem;
  overflow: hidden;
}

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

.hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: white;
  padding: 1.5rem 0;
  z-index: 999;
  display: none;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.cookie-banner.active {
  display: block;
}

.cookie-banner p {
  font-size: 0.95rem;
  color: #e5e7eb;
}

body.cookie-accepted {
  padding-bottom: 0;
}

body:not(.cookie-accepted) {
  padding-bottom: 120px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

  .hero {
    padding: 2rem 0;
  }

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

  .cookie-banner {
    padding: 1rem 0;
  }

  .cookie-banner p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  body:not(.cookie-accepted) {
    padding-bottom: 180px;
  }
}

@media (max-width: 576px) {
  .display-4 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .row > [class*="col-"] {
    margin-bottom: 1rem;
  }

  .product-card img {
    height: 180px;
  }

  .navbar-brand {
    font-size: 1.3rem !important;
  }
}

.text-success {
  color: #10b981 !important;
}

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

.font-weight-bold {
  font-weight: 700;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.nav-link {
  color: var(--text-dark) !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-blue) !important;
}
