/* Make the whole gallery a flex container */
.woocommerce-product-gallery {
  display: flex;
  align-items: flex-start;
}

/* Move thumbnails to the left */
.woocommerce-product-gallery .flex-control-thumbs {
  order: -1;
  width: 90px;
  margin-right: 15px;
  display: flex;
  flex-direction: column;
}

/* Stack thumbnails vertically */
.woocommerce-product-gallery .flex-control-thumbs li {
  width: 100% !important;
  margin-bottom: 10px;
}

/* Make sure images fill thumbnail width */
.woocommerce-product-gallery .flex-control-thumbs img {
  width: 100%;
  height: auto;
  cursor: pointer;
}
.woocommerce-product-gallery{
    gap: 10px;
  }
/* Main image container takes remaining space */
.woocommerce-product-gallery .flex-viewport {
  width: calc(100% - 105px);
}



.woocommerce-product-gallery__image {
  position: relative;
}

.woocommerce-product-gallery__image::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 100%;
  background: #fff; /* match your background */
  pointer-events: none;
  z-index: 2;
}
.lekaren-wrap {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}
.lekaren-button {
    border: 2px solid #349fbd;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}
a.lekaren img {
    max-width: 135px;
    width: 100%;
}

@media (max-width: 768px) {
  
  .woocommerce-product-gallery .flex-viewport {
  width: calc(100% - 80px);
}
.woocommerce-product-gallery .flex-control-thumbs {
  width: 70px;
}
#main-content .container {
    padding-top: 0 !important;
    width: 95% !important;
}
footer p {
    font-size: 14px !important;
}
footer h4.et_pb_module_header {
    font-size: 16px !important;
  }
  .et-db #et-boc .et-l .et_pb_row .et_pb_column.et_pb_column_1_4, .et-db #et-boc .et-l .et_pb_row .et_pb_column.et_pb_column_1_5, .et-db #et-boc .et-l .et_pb_row .et_pb_column.et_pb_column_1_6 {
        margin: 0 0 55px !important;
  }
  .et_pb_slide_description, .et_pb_slider_fullwidth_off .et_pb_slide_description,
  .et_pb_slide{
    padding: 0 !important;
  }
  .et_pb_toggle_content{
    font-size: 16px;
  }
  .et-db #et-boc .et-l .et_pb_section{
    padding: 10px 0 !important;
  }
  .lekaren-wrap {
        flex-direction: column;   /* stack vertically */
        align-items: flex-start;  /* align to the left */
        gap: 10px;
        padding-left: 18px;
    }

    .lekaren-button {
        width: fit-content;       /* keep natural width */
    }
    .padding18{
      padding-left: 18px;
    }
}