
/* Produkter intro */
.products-intro {
  background-color: #3b3b3b;
  color: white;
  text-align: center;
  padding: 25px 8% 65px;
}

.breadcrumb {
  text-align: left;
  font-size: 13px;
  opacity: 0.75;
  margin-bottom: 45px;
}

.products-intro h1 {
  font-size: 32px;
  margin-bottom: 18px;
}

.products-intro p {
  font-size: 16px;
}




/* Produkter kategorier */
.products-categories {
  background-color: #f5f5f5;
  padding: 90px 8%;
  text-align: center;
  color: #2b2b2b;
}

.products-categories h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 70px;
}

.products-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 400px);
  justify-content: center;
  gap: 10px 70px;
}

.products-category-card {
  padding: 18px;
  transition: 0.3s ease;
  cursor: pointer;
}
.last-card {
  grid-column: 2;
}

.products-category-card:hover {
  background-color: white;
  transform: translateY(-3px);
}

.products-category-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  margin-bottom: 10px;
  transition: 0.3s ease;
}

.products-category-card:hover img {
  transform: scale(1.03);
}

.products-category-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.products-category-card a {
  font-size: 18px;
  transition: 0.2s ease;
}

.products-category-card a:hover {
  color: #315E3A;
}




/* Mest efterspurgte kategorier */
.popular-categories-section {
  background-color: #e5e5e5;
  padding: 70px 8% 80px;
  text-align: center;
  color: #2b2b2b;
}

.popular-categories-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 50px;
}

.popular-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 400px);
  justify-content: center;
  gap: 70px;
}

.popular-category-card {
  padding: 18px;
  transition: 0.3s ease;
  cursor: pointer;
}

.popular-category-card:hover {
  background-color: #f5f5f5;
  transform: translateY(-3px);
}

.popular-category-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  margin-bottom: 16px;
  transition: 0.3s ease;
}

.popular-category-card:hover img {
  transform: scale(1.03);
}

.popular-category-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.products-category-card a,
.popular-category-card a,
.category-link {
  display: inline-block;
  font-size: 18px;
  transition: 0.2s ease;
}

.products-category-card a:hover,
.popular-category-card a:hover,
.category-link:hover {
  color: #315E3A;
}



/* Produktsøgning */
.product-search-section {
  background-color: #f5f5f5;
  padding: 90px 8% 110px;
  text-align: center;
  color: #2b2b2b;
}

.product-search-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 45px;
}

.product-search-box {
  width: 600px;
  height: 50px;
  margin: 0 auto;
  border: 1px solid #8d8d8d;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  background-color: transparent;
}

.product-search-box img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.7;
  filter: brightness(0);
}

.product-search-box input {
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  color: #2b2b2b;
}

.product-search-box input::placeholder {
  color: #000000;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 12px 16px;
  z-index: 9999;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Mobil optimering */
@media (max-width: 768px) {

  .products-categories {
    padding: 60px 6%;
  }

  .products-categories h2 {
    font-size: 26px;
    margin-bottom: 35px;
  }

  .products-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .products-category-card {
    padding: 0;
  }

  .products-category-card img {
    height: 135px;
  }

  .products-category-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .products-category-card a,
  .category-link {
    font-size: 14px;
  }

  .last-card {
    grid-column: 1 / 3;
    width: 48%;
    margin: 0 auto;
  }

  .popular-categories-section {
  padding: 60px 6%;
}

.popular-categories-section h2 {
  font-size: 24px;
  margin-bottom: 35px;
}

.popular-categories-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 16px;
}

.popular-category-card {
  padding: 0;
}

.popular-category-card img {
  height: 135px;
}

.popular-category-card h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.popular-category-card a {
  font-size: 14px;
}

.popular-categories-grid .popular-category-card:last-child {
  grid-column: 1 / 3;
  width: 48%;
  margin: 0 auto;
}
}


@media (max-width: 768px) {

  .product-search-box {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}