/*
* ===================================================
*     CUSTOM CSS CODE BELOW
* ===================================================
*/

/* Airlectra */

.prod-usp i {
    margin-top:6px;
    margin-right:8px;
    color:#32b338;
}

.top-bar-height .icon-payment, .nav-item .icon-payment {
    height: 12px;
    width: auto;
}

.product-border {
  background-color: #ffffff; /* vit bakgrund */
  border: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  height: 100%;
  padding: 0.5rem;
  border-radius: 12px; /* mjuka hörn */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-border:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* snygg, modern skugga */
  transform: translateY(-4px); /* lyft upp kortet lite */
}


.product.swiper-slide, .similar-slider .swiper-slide {
    display:flex;
    height:unset;
}

.similar-slider .swiper-slide .product {
    margin-bottom:0.5rem;
}

.navbar-light .navbar-nav .nav-link, .navbar-hover-light:hover .navbar-nav .nav-link, .navbar-fixed-light.fixed-top .navbar-nav .nav-link {
    padding-right: 0.875rem;
    padding-left: 0.875rem;
}
.product-description-wrapper ~ .reviews-section .reviews {
  display: none !important;
}


.blog_post_image img.bloglist {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  display: block;
}

/* Visa bara de 4 första produkterna i produktgrid */
[data-qb-element="productgrid"] .row > div:nth-child(n+5) {
  display: none !important;
}

/*Alla texter i kateogier på startsidan är vänsterställda */
[data-qb-element="categories"] h3,
[data-qb-element="categories"] h3 a,
[data-qb-element="categories"] {
  text-align: left !important;
  color: #000000 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}
/*Visa enbart 4 blogginlägg på startsidan */
.post:nth-of-type(n+5) {
  display: none !important;
}

/*Ändrad design för för företag i menyn */

.nav-link[href*="krisberedskap-for-foretag"] {
  font-weight: 600;
  color: #FFFFFF !important;
  background-color: #6A7F5F;
  padding: 8px 14px;
  border-radius: 2px;
  text-transform: uppercase;
}

/*Kategorier på startsidan */
.custom-categories {
  padding: 40px 20px;
}

.custom-categories h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  flex: 1 1 calc(25% - 16px); /* 4 per rad */
  min-width: 160px;
  max-width: 220px;
}

.category-list a {
  display: block;
  background-color: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  transition: all 0.25s ease;
}

.category-list a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .category-list {
    justify-content: center;
  }

  .category-list li {
    flex: 1 1 100%;
    max-width: 280px; /* Justerbar bredd på mobil */
  }
}