.hrvrdcontainer {
  display: grid;
  gap: 20px;
  column-gap: 10px;
  margin: 3% 6%;
}

.productbox {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
}
.textpartblock {
  flex: 1;
  margin-top: -6px;
}

.pagination_links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 20px;
}
.moreproductsbutton {
  display: inline-block;
  color: black;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 5px 15px;
  text-decoration: none;
  background-color: #f1e0e0;
  border-radius: 5px;
  border: 1px solid #f1e0e0;
  text-align: center;
  cursor: pointer;
}
@media (min-width: 851px) {
  .moreproductsbutton:hover {
    background-color: white;
  }
}
.change_desigh {
  position: absolute;
  right: 10px;
  top: 10px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 1px;
  background-color: white;
  border: 1px solid #f1e0e0;
  cursor: pointer;
  color: black;
}
@media (min-width: 851px) {
  .change_desigh:hover {
    background-color: #f1e0e0;
  }
}
.varukorgknapp.clicked {
  background-color: rgb(241, 224, 224);
}




.price {
  font-size: 16px;
  color: black;
  font-weight: 700;
  font-family: Poppins, Times New Roman;
}

.flex_price_and_rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 5px;
  position: absolute;
  bottom: 10px;
  gap: 2px;
}

.airblock {
  height: 15px;
  width: 100%;
}

.star {
  font-size: 12px;
  margin-right: 2px;
}
.shake-element {
  animation: shake 1s;
}

.display_popup {
  padding: 4px;
  background-color: lightgrey;
  color: grey;
  font-size: 12px;
  letter-spacing: 0px;
  border-radius: 20px;
  cursor: pointer;
}

.morematches {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
  font-size: 20px;
  letter-spacing: 2px;
}

@media (max-width:850px) {
  .productbox {
    padding: 5px;
  }
  .pagetitle {
    font-size: 16px;
    letter-spacing: 1px;
    padding: 0px 10px;
  }
  .flex_price_and_rating {
    width: 100%;
    left: 0px;
  }
}

@media (max-width:500px) {
  .hrvrdcontainer {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  }
  .productbox {
    height: 350px;
  }
  .priceperml {
    font-size: 12px;
  }
  .price {
    font-size: 14px;
  }
}

@media (min-width:500px) {
  .hrvrdcontainer {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .productbox {
    height: 350px;
  }
  .priceperml {
    font-size: 12px;
  }
  .price {
    font-size: 16px;
  }
}

@media (min-width:850px) {
  .hrvrdcontainer {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  .pagetitle {
    font-size: 22px;
    letter-spacing: 1px;
    padding: 0px 10px;
  }
  .flex_price_and_rating {
    width: calc(100% - 20px);
    left: 10px;
  }
  .productbox {
    height: 450px;
  }
  .change_desigh {
    padding: 8px 12px;
  }
  .productbox:hover {
    box-shadow: 0 0 10px lightgrey;
  }
  .productbox {
    padding: 10px;
  }
}

@media (min-width: 1600px) {
  .hrvrdcontainer {
    grid-template-columns: repeat(auto-fill, minmax(23%, 1fr));
  }
  .productbox {
  min-height: 600px;
  }
}

.man_img_div {
  height: 100%;
  position: relative;
  width: 100%;
  cursor: pointer;
}
.imagepart {
  position: relative;
  text-align: center;
  height: 60%;
  width: 100%;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Maintain aspect ratio while covering the container */
  padding: 10px;
}

.paket_button {
  position: absolute;
  top: 30%;
  right: 0;
}
.download_button {
  position: absolute;
  top: 60%;
  right: 0;
}
.flag_button {
  position: absolute;
  top: 50%;
  right: 0;
}

.uniqueflag_button {
  position: absolute;
  top: 40%;
  right: 0;
}

.likeicon {
  height: 20px;
  width: 20px;
}

.preview_button {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 12px;
  letter-spacing: 1px;
}

.absoluterightcorner {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 90px;
}
.savedbetween {
  font-size: 12px;
  padding: 4px;
  border-radius: 20px;
  background-color: #f1e0e0;
  letter-spacing: 0px;
  color: #876060;
}
.newsbanner {
  font-size: 12px;
  padding: 4px;
  border-radius: 20px;
  background-color: rgb(52, 54, 61);
  letter-spacing: 0px;
  color: white; 
}
.blackweekbanner {
  font-size: 12px;
  padding: 4px;
  border-radius: 20px;
  background-color: rgb(96, 29, 13);
  letter-spacing: 0px;
  color: white; 
}
.superdealbanner {
  font-size: 12px;
  padding: 4px;
  border-radius: 20px;
  background-color: rgb(52, 54, 61);
  letter-spacing: 0px;
  color: white; 
}

.bwbdtholder {
  width: 100%;
  display: flex;
  justify-content: center;
}
.blackweekbannerdescriptiontext {
  border-radius: 20px;
  background-color: rgb(96, 29, 13);
  letter-spacing: 0px;
  color: white; 
  max-width: 80%;
  text-align: center; 
  font-size: 12px; 
  padding: 4px 20px;
}
.prishistorikholder {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 5px; 
  height: 100%;
}
.prishistoriktag {
  width: 9px; 
  border-radius: 2px; 
  min-height: 10px; 
  margin-top: 5px;
}


.last_page_filtered {
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 30px 6%;
  text-align: center;
}
.lowerAndSmaller {
  font-weight: normal;
  font-size: 12px;
}
.likebutton,
.varukorgknapp,
.preview_button,
.flag_button,
.paket_button,
.download_button,
.uniqueflag_button {
  background-color: transparent;
  padding: 6px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 851px) {
  .likebutton:hover,
  .varukorgknapp:hover,
  .preview_button:hover,
  .flag_button:hover,
  .paket_button:hover,
  .download_button:hover,
  .uniqueflag_button:hover {
    box-shadow: 0 0 5px lightgrey;
  }
}


.arrow_page_img {
  height: 100%;
  width: 100%;
  display: inline;
}

.arrows_to_new_pages {
  height: 10px;
  width: 13px;
  text-decoration: none;
  color: black;
}

.name {
  font-size: 12px;
  margin-top: 2px;
  color: #555;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-family: Poppins, Times New Roman;
}

.manufacturer {
  font-size: 13px;
  margin-top: 5px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: black;
  font-weight: 700;
  font-family: Poppins, Times New Roman;
}

.manufacturersearch, .name_link_product_page {
  text-decoration: none;
  color: black;
}

@media (min-width: 850px) {
  .manufacturer :hover, .name :hover {
    border-bottom: 1px solid lightgrey;
  }
}

.noproducts {
  font-size: 18px;
  letter-spacing: 1px;
  text-align: center;
  margin-top: 200px;
}

.bottomspace {
  height: 50px;
}

.menubar-base, .manufacturersearch {
  text-decoration: none;
}

.link_next_page {
  text-decoration: none;
  color: black;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  width: 15px;
}
.chosen_this_page {
  font-size: 12px;
  color: black;
  font-weight: 700;
}

.page_description{
  font-size: 12px;
  letter-spacing: 1px;
  text-align: center;
  margin-top: 15px;
}

.flex_buttonbox {
  max-width: 95%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.pages_button {
  background-color: white;
  letter-spacing: 1px;
  font-size: 12px;
  color: black;
  width: 30px;
  height: 30px;
  border: 1px solid black;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#current_button {
  background-color: #f1e0e0;
}

.switcherbutton {
  display: block;
  position: relative;
  padding: 10px;
  padding-right: 20px;
  margin-top: 10px;
  font-size: 12px;
  background-color: rgb(52, 54, 61);
  color: white;
  z-index: 1;
  border: none;
  cursor: pointer;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  letter-spacing: 2px;
}








.admingridcontainer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px; /* Adjust space between grid items */
  width: 100%; /* Adjust the size as needed */
  height: 100%; /* Adjust the size as needed */
}
.admingriditem {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Ensures image fits nicely */
}
.admingriditem img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fill their containers without distortion */
}