/* =========================
   HERO
========================= */

.front-hero-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.front-hero {
  width: 100%;
  height: 60vh;
  min-height: 380px;
  max-height: 600px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.front-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.3); /* Tonar bilden fÃ¶r lÃ¤sbar text */
}

.front-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 20px;

  /* ðŸŸ¢ Viktigt: gÃ¶r att knappen kan hanteras separat */
  pointer-events: none;
}

.front-hero__content h1,
.front-hero__content p {
  text-decoration: none;
}

.front-hero__content h1 {
  font-size: 2.4rem;
  margin-bottom: .5rem;
}

.front-hero__content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.front-hero__content .btn {
  pointer-events: auto;           /* ðŸŸ¢ Bara knappen Ã¤r klickbar */
  background: #111;
  color: #fff;
  padding: .8rem 1.4rem;
  border-radius: 6px;
  display: inline-block;
  transition: background .25s ease;
}

.front-hero__content .btn:hover {
  background: #d25b0c;             /* ðŸ”¥ Riktig hover bara Ã¶ver knappen */
}

/* =========================
   INTROTEXT
========================= */

.front-intro {
  margin-block: 60px;
  max-width: 800px;
  text-align: center;
  margin-inline: auto;
}

.front-intro__content p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* =========================
   PRODUKTSEKTIONER
========================= */

.front-section {
  margin-block: 60px;
}

.front-section .section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

/* =========================
   USP-RAD
========================= */

.front-usps {
  margin-block: 80px;
  text-align: center;
  max-width: 1000px;
  margin-inline: auto;
}

.front-usps .section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.front-usps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.front-usps .usp {
  background: #f7f7f7;
  padding: 30px 20px;
  border-radius: 14px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.front-usps .usp:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
}

.front-usps .usp span {
  font-size: 2rem;
  margin-bottom: .6rem;
  display: block;
}

@media (max-width: 768px) {
  .front-usps__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* =========================
   KAMPANJ #2
========================= */

.front-promo2 {
  margin-block: 60px;
}

.front-promo2__inner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  overflow: hidden;
  min-height: 260px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.front-promo2__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
}

.front-promo2__content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 600px;
  padding: 40px 20px;
}

.front-promo2__content h2 {
  font-size: 2rem;
  margin-bottom: .5rem;
}

.front-promo2__content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.front-promo2__content .btn {
  background: #fff;
  color: #111;
  padding: .8rem 1.4rem;
  border-radius: 6px;
  display: inline-block;
  transition: background .25s ease;
}

.front-promo2__content .btn:hover {
  background: #f2f2f2;
}

/* =========================
   3 UTVALDA KATEGORIER
========================= */

.front-categories {
  margin-block: 60px;
}

.front-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.front-category {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #fff;
  min-height: 240px;
}

.front-category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.front-category__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
}

.front-category__overlay h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.front-category:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .front-categories__grid {
    grid-template-columns: 1fr;
  }
}

/* Ta bort underline från hero-länken vid hover/focus */
.front-hero-link:hover,
.front-hero-link:focus {
  text-decoration: none;
}

.front-promo2__link {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  min-height: 260px;       /* höjd på mobil */
  text-decoration: none;
  color: #fff;
}

.front-promo2__link img {
  width: 100%;
  height: 100%;            /* alltid fyll containern */
  object-fit: cover;       /* klipp istället för att sträcka */
  display: block;
  transition: transform .4s ease;
}

.front-promo2__link:hover img {
  transform: scale(1.05);
}

/* Desktop – lite mindre */
@media (min-width: 1024px) {
  .front-promo2__link {
    min-height: 320px;     /* du kan justera efter smak */
    max-height: 400px;
  }
}

.front-promo2__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  z-index: 1; /* viktig så det hamnar över bilden */
}

.front-promo2__content {
  color: #fff;
  max-width: 600px;
}

.front-promo2__link {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #fff;
}

.front-promo2__link img {
  width: 100%;
  height: auto;     /* behåll proportioner */
  display: block;
  object-fit: cover;
}

.front-promo2__link {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  min-height: 260px;
  text-decoration: none;
  color: #fff;
}

.front-promo2__link img {
  width: 100%;
  height: 100%;        /* fyll alltid containern */
  object-fit: cover;   /* beskär istället för att sträcka */
  display: block;
}

.front-promo2__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: bottom; /* 🔑 tar bort baseline-gap */
  transition: transform .4s ease;
}

.front-promo2__link {
  min-height: 260px;
  overflow: hidden;
  background: #000; /* fallback så ingen grå yta lyser igenom */
}