h3.emty_div
{
  text-align: center;
}
#togglePassword {
  float: right;
  position: absolute;
  top: 30px;
  border-radius: 10px;
  background: none;
  right: 20px;
  border: none;
  color: unset;
}

span#danger-span
{
  color: red;
  border: 1px solid;
  width: 100%;
  display: inline-block;
  margin-top: 18px;
  clear: both;
  overflow: hidden;
  border-radius: 5px;
  padding: 10px;
  text-align: center;
}

.voucher_code_submit {
  cursor: pointer;
}
p.voucher_msg {
  padding: 0px;
  margin: 0px;
  margin-top: 10px;
}
input.search_product_input {
  width: 40%;
  margin-left: 17px;
  margin-top: 1px;
  padding: 8px;
  font-size: 12px;
  border-radius: 1px;
  border: 1px solid #cdcdcd;
}


/*Product deail*/
.gallery-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#thumbs_list_frame {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none; /* hide scrollbar in Firefox */
  -ms-overflow-style: none; /* hide scrollbar in IE/Edge */
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth; /* smooth scroll on button click */
}

/* Hide scrollbar for Chrome, Safari, and Opera */
#thumbs_list_frame::-webkit-scrollbar {
  display: none;
}

#thumbs_list_frame li {
  flex: 0 0 auto;
}

#thumbs_list_frame img {
  width: 102px;
  height: 136px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#thumbs_list_frame img:hover {
  transform: scale(1.05);
}

/* Scroll buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 10;
}

.scroll-btn:hover {
  background-color: rgba(255, 255, 255, 1);
}

.scroll-left {
  left: 5px;
}

.scroll-right {
  right: 5px;
}

a.view_all {
  font-size: 18px;
  float: right;
  margin-right: 70px;
  font-weight: bold;
  color: #685039;
}
.product_notinstock{
  position: relative;
}

.product_notinstock::after{
  content: "Ekki til";
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  background: #e74c3c;
  color: #fff;
  border-radius: 6px;
  z-index: 10;
}