:root {
  --primary-brand: #8B4646;
  --light-gray: #F5F3F0;
  --dark-text: #3A3A3A;
  --secondary-accent: #5A7A8B;
  --white: #FFFFFF;
  --border-color: #D0CCC9;
}

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

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

html {
  scroll-behavior: smooth;
}

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

a:hover {
  color: var(--secondary-accent);
}

.navbar {
  background-color: var(--white) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

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

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

.hero-section {
  position: relative;
  height: 450px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-section {
    height: 300px;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--dark-text);
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}

.hero-content .lead {
  font-size: 1.3rem;
  font-weight: 400;
}

@media (max-width: 768px) {
  .hero-content .lead {
    font-size: 1rem;
  }
}

.btn-custom {
  background-color: var(--primary-brand);
  color: var(--white);
  border: 2px solid var(--primary-brand);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.btn-custom:hover {
  background-color: var(--white);
  color: var(--primary-brand);
  transform: scale(1.02);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-brand);
  border: 2px solid var(--primary-brand);
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.btn-outline-custom:hover {
  background-color: var(--primary-brand);
  color: var(--white);
  transform: scale(1.02);
}

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

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

h1, h2, h3, h4, h5, h6 {
  color: var(--dark-text);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

.text-secondary {
  color: #666666 !important;
}

.category-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 2rem;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.category-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-brand);
}

.product-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-color: var(--secondary-accent);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-body h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--dark-text);
}

.product-body p {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-brand);
  margin: 1rem 0;
}

.filter-section {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.form-control {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.75rem;
  color: var(--dark-text);
}

.form-control:focus {
  border-color: var(--primary-brand);
  box-shadow: 0 0 0 0.2rem rgba(139, 70, 70, 0.15);
}

.faq-item {
  background-color: var(--light-gray);
  padding: 1.5rem;
  border-radius: 4px;
  border-left: 4px solid var(--primary-brand);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-item h4 {
  color: var(--primary-brand);
  margin-bottom: 0.75rem;
}

.info-box {
  background-color: var(--white);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: all 0.3s ease;
  height: 100%;
}

.info-box:hover {
  border-color: var(--primary-brand);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.info-box h4 {
  color: var(--primary-brand);
  margin-bottom: 0.75rem;
}

footer {
  background-color: var(--white);
  padding: 2rem 0;
  margin-top: 3rem;
}

footer h5 {
  color: var(--dark-text);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

footer a {
  color: #999999;
  transition: color 0.3s ease;
}

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

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

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

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--dark-text);
}

.contact-info {
  padding: 1rem 0;
}

.contact-info h4 {
  color: var(--primary-brand);
  margin-bottom: 0.5rem;
}

.contact-info p {
  margin: 0;
}

form {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.form-group label {
  color: var(--dark-text);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

textarea.form-control {
  resize: vertical;
}

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .category-card,
  .info-box,
  .faq-item {
    margin-bottom: 1rem;
  }

  .product-card {
    margin-bottom: 1.5rem;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

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

  .hero-section {
    margin-bottom: 2rem;
  }

  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
}

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

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

small {
  color: #999999;
  font-size: 0.9rem;
}

.display-4 {
  font-size: 3.5rem;
  font-weight: 700;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}
