/*
 Theme Name:   XStore Child
 Theme URI:    http://8theme.com/
 Description:  XStore Child Theme
 Author:       8theme
 Author URI:   http://8theme.com
 Template:     xstore
 Version:      1.0
 Text Domain:  xstore-child
*/

/* Elfsight gallery cards use percentage padding for their height. In a mobile
   flex column Elementor underestimates that height, so later content overlaps.
   Let the staff column size itself in normal block flow instead. */
@media (max-width: 767px) {
  .elementor .e-con:has(> .elementor-widget-shortcode .elfsight-widget-team-showcase) {
    display: block;
  }
}

.borg-search-filters {
  margin: 24px 0 30px;
  padding: 20px;
  border: 1px solid #e6e6e6;
  background: #fff;
}

.borg-search-filters .shop-filters-area {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
}

.borg-search-filter-widget {
  margin: 0;
}

.borg-search-filter-widget summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  margin: 0 0 12px;
}

.borg-search-filter-widget summary::-webkit-details-marker {
  display: none;
}

.borg-search-filter-widget summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
}

.borg-search-filter-widget details[open] summary::after {
  content: "−";
}

.borg-search-filter-list {
  max-height: 280px;
  margin: 0;
  padding: 0 8px 0 0;
  overflow-y: auto;
  list-style: none;
}

.borg-search-filter-list li {
  margin: 0;
}

.borg-search-filter-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  color: inherit;
}

.borg-search-filter-check {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 1px solid #b8b8b8;
  background: #fff;
}

.borg-search-filter-list .current-item .borg-search-filter-check {
  border-color: #222;
  background: #222;
}

.borg-search-filter-list .current-item .borg-search-filter-check::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.borg-search-filters-clear {
  grid-column: 1 / -1;
  justify-self: start;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .borg-search-filters .shop-filters-area {
    grid-template-columns: 1fr;
  }
}

/* Förbättra Fraktjakts dropdown-display på XStore checkout */
/* Visa fraktval i rad – justerat för Fraktjakt och XStore */
/* Justera varje fraktmetod till en rad */
/* Gäller både på kassasidan och varukorgssidan */
.woocommerce-cart #shipping_method li,
.woocommerce-checkout #shipping_method li {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
}

.woocommerce-cart #shipping_method li label,
.woocommerce-checkout #shipping_method li label {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin: 0;
}
.krokedil_shipping_pickup_point__select {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  transition: border-color 0.2s ease-in-out;
}

.krokedil_shipping_pickup_point__select:focus {
  outline: none;
  border-color: #999;
}

@media (min-width: 1024px) {
  .header-wrapper .super-speedy-search-form:not(.sss-slide) {
    width: min(600px, 34vw);
    max-width: calc(100vw - 48px);
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .super-speedy-searchform,
  .header-wrapper .super-speedy-search-form:not(.sss-slide) .ssswrapper {
    width: 100%;
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sssresults {
    width: min(860px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .ssswrapper {
    min-height: 48px;
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .ssstext,
  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sss_search_button,
  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sss_clear_button {
    min-height: 48px;
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sss_scroll_container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 0;
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sss_items_container {
    grid-column: 1;
    grid-row: 1;
    border-right: 1px solid #e6e6e6;
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sss_suggestions_container {
    grid-column: 2;
    grid-row: 1;
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sss-list-item .sss_mainlink {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 112px;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sss-list-item .sss_flash {
    display: none;
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sss-list-item img {
    grid-column: 1;
    width: 72px;
    height: 72px;
    object-fit: cover;
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sss-list-item .sss_content {
    grid-column: 2;
    min-width: 0;
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sss-list-item .sss-title {
    font-weight: 700;
    line-height: 1.25;
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sss-list-item .sss-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.35;
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sss-list-item .sss_mainlink::after {
    content: "Visa produkt";
    grid-column: 3;
    align-self: center;
    padding: 8px 12px;
    border: 1px solid #0b3448;
    color: #0b3448;
    font-weight: 700;
    white-space: nowrap;
  }

  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sss-suggestions li:nth-child(n+4),
  .header-wrapper .super-speedy-search-form:not(.sss-slide) .sss-taxonomies li:not(.noHover):nth-of-type(n+5) {
    display: none;
  }
}

@media (min-width: 1440px) {
  .header-wrapper .super-speedy-search-form:not(.sss-slide) {
    width: min(620px, 34vw);
  }
}

@media (max-width: 1023px) {
  .mobile-header-wrapper .header-bottom-wrapper .header-bottom {
    padding: 8px 0 10px;
  }

  .mobile-header-wrapper .super-speedy-search-form:not(.sss-slide) {
    margin: 0;
  }

  .mobile-header-wrapper .super-speedy-search-form:not(.sss-slide) form > .ssswrapper,
  .mobile-header-wrapper .super-speedy-search-form:not(.sss-slide) .ssswrapper,
  .mobile-header-wrapper .super-speedy-search-form:not(.sss-slide) .ssstext,
  .mobile-header-wrapper .super-speedy-search-form:not(.sss-slide) .sss_search_button,
  .mobile-header-wrapper .super-speedy-search-form:not(.sss-slide) .sss_clear_button {
    height: 46px;
    min-height: 46px;
  }

  .mobile-header-wrapper .super-speedy-search-form:not(.sss-slide) .sssbuttonwrapper,
  .mobile-header-wrapper .super-speedy-search-form:not(.sss-slide) .sssresetwrapper {
    height: 46px;
  }

  .mobile-header-wrapper .super-speedy-search-form:not(.sss-slide) .ssstext {
    font-size: 16px;
    padding-left: 14px;
  }

  .mobile-header-wrapper .super-speedy-search-form:not(.sss-slide) .sss_search_button,
  .mobile-header-wrapper .super-speedy-search-form:not(.sss-slide) .sss_clear_button {
    min-width: 46px;
  }

  .super-speedy-search-form:not(.sss-slide) .sss_scroll_container {
    display: flex;
    flex-direction: column;
  }

  .super-speedy-search-form:not(.sss-slide) .sss_items_container {
    order: 1;
  }

  .super-speedy-search-form:not(.sss-slide) .sss_suggestions_container {
    order: 2;
  }

  .super-speedy-search-form:not(.sss-slide) .sss-list-item .sss_mainlink {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
  }

  .super-speedy-search-form:not(.sss-slide) .sss-list-item .sss_flash,
  .super-speedy-search-form:not(.sss-slide) .sss-list-item .sss_rating_price_wrapper {
    display: none;
  }

  .super-speedy-search-form:not(.sss-slide) .sss-list-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
  }

  .super-speedy-search-form:not(.sss-slide) .sss-list-item .sss_content {
    min-width: 0;
  }

  .super-speedy-search-form:not(.sss-slide) .sss-list-item .sss-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.25;
  }

  .super-speedy-search-form:not(.sss-slide) .sss-list-item .sss-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.3;
  }
}

.borg-search-results-page .borg-search-results-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: end;
  padding: 28px 0 22px;
  border-bottom: 1px solid #e5e8ea;
}

.borg-search-results-page .borg-search-results-eyebrow {
  margin: 0 0 6px;
  color: #6c7479;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.borg-search-results-page .borg-search-results-header h1 {
  margin: 0 0 8px;
  color: #083247;
  font-size: 34px;
  line-height: 1.15;
}

.borg-search-results-page .borg-search-results-header p {
  margin: 0;
  color: #697278;
}

.borg-search-results-page .borg-search-results-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid #cfd6da;
  background: #fff;
}

.borg-search-results-page .borg-search-results-form input[type="search"] {
  min-height: 48px;
  border: 0;
  padding: 0 14px;
}

.borg-search-results-page .borg-search-results-form button {
  min-height: 48px;
  border: 0;
  border-left: 1px solid #cfd6da;
  padding: 0 20px;
  background: #083247;
  color: #fff;
  font-weight: 700;
}

.borg-search-results-page .filter-wrap {
  margin-top: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e8ea;
}

.borg-search-results-page .filter-wrap .filter-content {
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-wrap .toggle-tax-display {
  margin: 0;
}

.filter-wrap .toggle-tax-display .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  line-height: 1.15;
  white-space: nowrap;
}

.filter-wrap .toggle-tax-display .tax-label-short {
  display: none;
}

.reh-loading-spinner {
  display: block;
  box-sizing: border-box;
}

.products .price .reh-price-slot,
.products .price .reh-prc-main-price {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  min-height: 34px;
  width: 100%;
}

.products .price .reh-price-slot:has(del),
.products .price .reh-prc-main-price:has(del) {
  flex-direction: column;
  gap: 1px;
}

.products .price {
  width: 100%;
  text-align: center;
}

.products .price .woocommerce-Price-amount,
.products .price del,
.products .price ins {
  white-space: nowrap;
}

.products .price del {
  position: relative;
  display: inline-block;
  text-decoration: none !important;
}

.products .price del::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.products .borg-has-campaign-badge .price ins,
.products .borg-has-campaign-badge .price ins .woocommerce-Price-amount,
.products .borg-has-campaign-badge .price .borg-product-price-sale,
.products .borg-has-campaign-badge .price .borg-product-price-sale .woocommerce-Price-amount {
  color: #d72f2f !important;
}

.products .price .borg-card-price-meta {
  display: block;
  width: 100%;
  margin-top: 2px;
  color: #7b8489;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

body.single-product .related-products .price,
body.single-product .upsell-products .price,
body.single-product .cross-sell-products .price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 0;
  line-height: 1.16;
}

body.single-product .related-products .price del,
body.single-product .related-products .price ins,
body.single-product .related-products .price .woocommerce-price-suffix,
body.single-product .related-products .price .borg-card-price-meta,
body.single-product .upsell-products .price del,
body.single-product .upsell-products .price ins,
body.single-product .upsell-products .price .woocommerce-price-suffix,
body.single-product .upsell-products .price .borg-card-price-meta,
body.single-product .cross-sell-products .price del,
body.single-product .cross-sell-products .price ins,
body.single-product .cross-sell-products .price .woocommerce-price-suffix,
body.single-product .cross-sell-products .price .borg-card-price-meta {
  display: block;
  width: 100%;
  text-align: center;
}

body.single-product .related-products .price ins,
body.single-product .upsell-products .price ins,
body.single-product .cross-sell-products .price ins {
  color: #d72f2f !important;
  text-decoration: none;
}

body.single-product .related-products .price ins .woocommerce-Price-amount,
body.single-product .upsell-products .price ins .woocommerce-Price-amount,
body.single-product .cross-sell-products .price ins .woocommerce-Price-amount {
  color: #d72f2f !important;
}

body.single-product .related-products .price .woocommerce-price-suffix,
body.single-product .related-products .price .borg-card-price-meta,
body.single-product .upsell-products .price .woocommerce-price-suffix,
body.single-product .upsell-products .price .borg-card-price-meta,
body.single-product .cross-sell-products .price .woocommerce-price-suffix,
body.single-product .cross-sell-products .price .borg-card-price-meta {
  margin-top: 0;
  color: #596268;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
}

.products .price .reh-loading-spinner {
  width: 22px;
  height: 22px;
  margin: 0 auto;
  border-width: 2px;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product {
  border-right: 1px solid #e5e8ea;
  border-bottom: 1px solid #e5e8ea;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .content-product {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(170px, 13vw, 230px);
  padding: 16px 18px 12px;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-image-wrapper img {
  width: 100%;
  max-height: 190px;
  object-fit: contain;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding-left: 18px;
  padding-right: 18px;
  padding-top: 4px;
  padding-bottom: 14px;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-title,
body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-title a {
  min-height: 52px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-title {
  margin-bottom: 6px;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .price {
  min-height: 50px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.25;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product_brand {
  min-height: 28px;
  margin-bottom: 6px;
  color: #7f888d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product_brand a,
body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product_brand span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .price .woocommerce-Price-amount,
body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .price del,
body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .price ins {
  color: #083247;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.08;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .price .borg-card-price-meta {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.18;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .price del {
  display: block;
  margin-bottom: 2px;
  color: #8a9297;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .price del .woocommerce-Price-amount {
  color: #8a9297;
  font-size: 15px;
  font-weight: 600;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .price ins {
  display: block;
  text-decoration: none;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-details .button,
body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-details .add_to_cart_button {
  width: min(100%, 210px);
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .footer-product {
  display: none;
}

body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .button,
body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .add_to_cart_button {
  min-height: 42px;
  margin-top: 6px;
}

@media (min-width: 1440px) {
  body.archive.woocommerce-page:not(.search-results) .content-page.container {
    width: min(calc(100% - 40px), 1560px);
    max-width: 1560px;
  }

  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid.row-count-3 .product {
    width: 25%;
  }

  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid.row-count-3 .product:nth-child(n) {
    clear: none;
  }

  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid.row-count-3 .product:nth-child(4n+1) {
    clear: both;
  }
}

body.archive.woocommerce-page:not(.search-results) .shop-filters {
  margin-bottom: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #e5e8ea;
}

body.archive.woocommerce-page:not(.search-results) .shop-filters .shop-filters-area {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
}

body.archive.woocommerce-page:not(.search-results) .shop-filters .sidebar-widget {
  flex: 1 1 280px;
  max-width: 360px;
  margin-bottom: 0;
}

body.archive.woocommerce-page:not(.search-results) .shop-filters .widget-title {
  color: #083247;
  font-size: 13px;
  font-weight: 800;
}

body.archive.woocommerce-page:not(.search-results) .shop-filters .sidebar-widget > ul,
body.archive.woocommerce-page:not(.search-results) .shop-filters .sidebar-widget .menu,
body.archive.woocommerce-page:not(.search-results) .shop-filters .sidebar-widget .woocommerce-widget-layered-nav-list {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 8px;
}

.borg-search-results-page .filter-wrap .open-filters-btn a,
.borg-search-results-page .filter-wrap .etheme-toggle-filter,
.borg-search-results-page .filter-wrap .filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #cfd6da;
  background: #fff;
  color: #083247;
  font-weight: 700;
}

.borg-search-results-page .filter-wrap .open-filters-btn a i {
  position: static;
  flex: 0 0 auto;
  margin: 0;
  transform: none;
}

.borg-search-results-page .filter-wrap .open-filters-btn a.active i {
  transform: rotateX(180deg);
}

.borg-search-results-page .shop-filters {
  margin-bottom: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #e5e8ea;
}

.borg-search-results-page .sssresults.full {
  display: none;
}

.borg-search-results-page .shop-filters .shop-filters-area {
  display: block;
  margin-left: -15px;
  margin-right: -15px;
}

.borg-search-results-page .shop-filters .sidebar-widget {
  float: left;
  width: 33.33%;
  max-width: none;
  margin: 0 0 25px;
  padding: 0 15px;
}

.borg-search-results-page .shop-filters .widget-title {
  color: #083247;
  font-size: 13px;
  font-weight: 800;
}

.borg-search-results-page .products {
  border-top: 1px solid #e5e8ea;
  border-left: 1px solid #e5e8ea;
}

.borg-search-results-page .products .product {
  border-right: 1px solid #e5e8ea;
  border-bottom: 1px solid #e5e8ea;
}

.borg-search-results-page .content-product {
  height: 100%;
}

.borg-search-results-page .product-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(190px, 18vw, 260px);
  padding: 18px 20px 14px;
}

.borg-search-results-page .product-image-wrapper img {
  width: 100%;
  max-height: 190px;
  object-fit: contain;
}

.borg-search-results-page .products .product-title,
.borg-search-results-page .products .product-title a {
  min-height: 52px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.borg-search-results-page .products .product-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.borg-search-results-page .products .product-details {
  width: 100%;
  padding-left: 18px;
  padding-right: 18px;
}

.borg-search-results-page .products .price {
  min-height: 50px;
  font-size: 14px;
  line-height: 1.25;
}

.borg-search-results-page .products .product_brand {
  min-height: 28px;
  margin-bottom: 6px;
  color: #7f888d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.borg-search-results-page .products .product_brand a,
.borg-search-results-page .products .product_brand span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.borg-search-results-page .products .price .woocommerce-Price-amount,
.borg-search-results-page .products .price del,
.borg-search-results-page .products .price ins {
  color: #083247;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.08;
}

.borg-search-results-page .products .price .borg-card-price-meta {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.18;
}

.borg-search-results-page .products .price del {
  display: block;
  margin-bottom: 2px;
  color: #8a9297;
}

.borg-search-results-page .products .price del .woocommerce-Price-amount {
  color: #8a9297;
  font-size: 15px;
  font-weight: 600;
}

.borg-search-results-page .products .price ins {
  display: block;
  text-decoration: none;
}

body.single-product .reh-prc-main-price,
body.single-product .woocommerce-variation-price {
  min-height: 42px;
  line-height: 1.25;
}

body.single-product p.price,
body.single-product .summary .price,
body.single-product .et_product-block .price {
  color: #083247;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
}

body.single-product p.price .reh-prc-main-price,
body.single-product .summary .price .reh-prc-main-price,
body.single-product .et_product-block .price .reh-prc-main-price {
  display: block;
  margin: 8px 0 18px;
  color: #083247;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
}

body.single-product p.price .reh-prc-main-price::before,
body.single-product .summary .price .reh-prc-main-price::before,
body.single-product .et_product-block .price .reh-prc-main-price::before {
  content: "Pris";
  display: block;
  margin-bottom: 5px;
  color: #6f777b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

body.single-product p.price .woocommerce-Price-amount,
body.single-product p.price .reh-prc-main-price .woocommerce-Price-amount,
body.single-product .summary .price .woocommerce-Price-amount,
body.single-product .et_product-block .price .woocommerce-Price-amount {
  color: inherit;
  font-weight: inherit;
}

body.single-product .borg-product-price-main {
  display: block;
  color: #083247;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.05;
}

body.single-product .borg-product-price-main del {
  margin-right: 8px;
  color: #8a9297;
  font-size: 20px;
  font-weight: 600;
  text-decoration-thickness: 2px;
}

body.single-product .borg-product-price-main ins {
  color: #f0371b;
  text-decoration: none;
}

body.single-product .borg-product-price-old {
  display: block;
  margin-bottom: 3px;
  color: #8a9297;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

body.single-product .borg-product-price-old .woocommerce-Price-amount {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

body.single-product .borg-product-price-sale {
  display: block;
  color: #f0371b;
}

body.single-product.borg-has-campaign-badge .borg-product-price-sale,
body.single-product.borg-has-campaign-badge .borg-product-price-sale .woocommerce-Price-amount,
body.single-product.borg-has-campaign-badge .borg-product-price-main ins,
body.single-product.borg-has-campaign-badge .borg-product-price-main ins .woocommerce-Price-amount {
  color: #d72f2f !important;
}

body.single-product .borg-product-price-meta {
  display: block;
  margin-top: 4px;
  margin-bottom: 8px;
  color: #596268;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

body.single-product .reh-price-slot {
  display: block;
}

body.single-product .borg-selected-price-label {
  display: block;
  margin-bottom: 4px;
  color: #6f777b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

body.single-product .borg-selected-price-value {
  display: block;
  margin: 4px 0 16px;
  color: #083247;
  font-weight: 700;
  line-height: 1.25;
}

body.single-product .borg-price-loading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  color: #6f777b;
  font-size: 14px;
  font-weight: 700;
}

body.single-product .borg-price-loading .reh-loading-spinner {
  width: 20px;
  height: 20px;
  margin: 0;
  border-width: 2px;
}

body.single-product .bb-unit-conversion-info {
  margin: 10px 0 15px;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #d9e0e4;
  border-left: 3px solid #ffb128;
  background: #f7f9fa;
  color: #083247;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

body.single-product .bb-product-unit-label {
  margin-right: 10px;
  color: #083247;
  font-weight: 700;
}

body.single-product .bb-product-factor-field {
  width: 220px;
  max-width: 100%;
  margin-right: 30px;
  border-color: #d9e0e4;
  background: #f7f9fa;
  color: #5f676c;
}

body.single-product .woocommerce-multi-inventory-inventories-container {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #e5e8ea;
  background: #f7f9fa;
}

body.single-product .bb-stock-summary {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
}

body.single-product .bb-stock-summary-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #083247;
  font-weight: 650;
  line-height: 1.35;
}

body.single-product .bb-stock-summary-row--online {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 850;
}

body.single-product .bb-stock-summary-row::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #e8f4e7;
  color: #2f7d13;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

body.single-product .bb-stock-summary-row--online::before {
  content: "\2713";
  width: 20px;
  min-width: 20px;
  height: 20px;
  font-size: 13px;
}

body.single-product .bb-stock-summary-row--store::before {
  content: "";
  background: #f6b229;
  box-shadow: inset 0 0 0 5px #fff;
}

body.single-product .summary .stock.in-stock,
body.single-product .summary .et_stock,
body.single-product form.cart .stock.in-stock,
body.single-product form.cart .et_stock {
  display: none;
}

body.single-product .woocommerce-multi-inventory-text {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e1e5e8;
}

body.single-product .bb-stock-summary-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid #cfd7dc;
  background: #fff;
  color: #083247;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

body.single-product .bb-stock-summary-action {
  color: #6a7378;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

body.single-product .woocommerce-multi-inventory-inventories-container.is-open .woocommerce-multi-inventory-text {
  display: grid;
}

body.single-product .woocommerce-multi-inventory-text br {
  display: none;
}

body.single-product .woocommerce-multi-inventory-label-text-before {
  display: block;
  margin-bottom: 8px;
  color: #083247;
  font-weight: 800;
}

body.single-product .woocommerce-multi-inventory-text-single {
  display: block;
  margin-bottom: 0;
  line-height: 1.35;
}

@media (min-width: 993px) {
  body.single-product .single-product-builder .woocommerce-product-gallery__image img {
    height: 360px !important;
    max-height: 360px;
    object-fit: contain;
  }

  body.single-product .single-product-request-quote-wrapper {
    margin-top: 14px;
  }
}

@media (max-width: 767px) {
  .et-toggle-mob-sidebars-wrapper .et-toggle-mob-sidebars-inner {
    left: 0;
    z-index: 100001;
    max-width: none;
    overflow: visible;
  }

  .et-toggle-mob-sidebars-wrapper .et-toggle-mob-sidebar .et-toggle {
    width: auto;
    gap: 7px;
    min-width: 82px;
    height: 42px;
    min-height: 42px;
    padding: 0 14px 0 12px;
    border: 1px solid #d9e0e4;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    background: #fff;
    color: #083247;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(8, 50, 71, .12);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
  }

  .et-toggle-mob-sidebars-wrapper .et-toggle-mob-sidebar .et-toggle::after {
    content: "Filter";
  }

  .et-toggle-mob-sidebars-wrapper .et-toggle-mob-sidebar .et_b-icon {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
  }

  .off-canvas-sidebar-opened .sidebar.et-mini-content.active {
    background: #fff;
    opacity: 1;
    z-index: 100002;
  }

  .off-canvas-sidebar-opened .et-close-sidebar {
    z-index: 100003;
    cursor: pointer;
    pointer-events: auto;
  }

  .off-canvas-sidebar-opened .et-close-sidebar:after {
    left: 300px;
    right: 0;
    width: auto;
  }

  body.archive.woocommerce-page:not(.search-results) .filter-wrap .filter-content {
    gap: 10px;
    overflow: hidden;
  }

  body.archive.woocommerce-page:not(.search-results) .content-page.container {
    width: 100%;
    padding-left: 6px;
    padding-right: 6px;
  }

  .borg-search-results-page .content-page.container,
  .borg-search-results-page .page-content,
  body.archive.woocommerce-page .main-products-loop {
    width: 100%;
    max-width: none;
  }

  .borg-search-results-page .content-page.container {
    padding-left: 6px;
    padding-right: 6px;
  }

  body.archive.woocommerce-page .main-products-loop .products-grid,
  .borg-search-results-page .products-grid {
    margin-left: 0;
    margin-right: 0;
  }

  body.archive.woocommerce-page:not(.search-results) .woocommerce-ordering {
    flex: 1 1 150px;
  }

  body.archive.woocommerce-page:not(.search-results) .woocommerce-ordering select {
    width: 100%;
  }

  body.archive.woocommerce-page:not(.search-results) .view-switcher,
  body.archive.woocommerce-page:not(.search-results) .products-per-page,
  body.archive.woocommerce-page:not(.search-results) .filter-content .view-switcher,
  body.archive.woocommerce-page:not(.search-results) .filter-content .products-per-page {
    display: none !important;
  }

  .borg-search-results-page .borg-search-results-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0 14px;
  }

  .borg-search-results-page .borg-search-results-header h1 {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .borg-search-results-page .borg-search-results-header .borg-search-results-form {
    display: none;
  }

  .borg-search-results-page .filter-wrap {
    margin-top: 10px;
    padding: 10px 0;
  }

  .borg-search-results-page .filter-wrap .filter-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
  }

  .borg-search-results-page .shop-filters {
    display: none;
  }

  .borg-search-results-page .filter-wrap:has(.open-filters-btn a.active) + .shop-filters {
    display: block;
  }

  .borg-search-results-page .filter-wrap .woocommerce-result-count,
  .borg-search-results-page .filter-wrap .toggle-tax-display + div[style*="margin-right"] {
    display: none !important;
  }

  .borg-search-results-page .filter-wrap .toggle-tax-display,
  .borg-search-results-page .filter-wrap .open-filters-btn {
    width: 100%;
  }

  .borg-search-results-page .filter-wrap .toggle-tax-display {
    grid-column: 1;
    grid-row: 1;
  }

  .borg-search-results-page .filter-wrap .open-filters-btn {
    grid-column: 2;
    grid-row: 1;
  }

  .borg-search-results-page .filter-wrap .toggle-tax-display .button,
  .borg-search-results-page .filter-wrap .open-filters-btn a,
  .borg-search-results-page .filter-wrap .etheme-toggle-filter,
  .borg-search-results-page .filter-wrap .filter-btn {
    width: 100%;
    min-width: 0;
  }

  .borg-search-results-page .woocommerce-ordering {
    grid-column: 1 / -1;
    width: 100%;
    flex: none;
  }

  .borg-search-results-page .woocommerce-ordering select {
    width: 100%;
  }

  .borg-search-results-page .view-switcher,
  .borg-search-results-page .products-per-page,
  .borg-search-results-page .filter-content .view-switcher,
  .borg-search-results-page .filter-content .products-per-page {
    display: none !important;
  }

  .filter-wrap .toggle-tax-display .button {
    min-width: 118px;
    padding: 0 12px;
    font-size: 12px;
  }

  .filter-wrap .toggle-tax-display .tax-label-full {
    display: none;
  }

  .filter-wrap .toggle-tax-display .tax-label-short {
    display: inline;
  }

  .borg-search-results-page .shop-filters .shop-filters-area {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-left: 0;
    margin-right: 0;
  }

  .borg-search-results-page .shop-filters .sidebar-widget {
    clear: both;
    float: none;
    width: 100% !important;
    padding: 0;
    margin: 0;
  }

  .borg-search-results-page .shop-filters .sidebar-widget > ul,
  .borg-search-results-page .shop-filters .sidebar-widget .menu,
  .borg-search-results-page .shop-filters .sidebar-widget .woocommerce-widget-layered-nav-list {
    max-height: 220px;
    overflow-y: auto;
  }

  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-image-wrapper {
    height: 112px;
    padding: 30px 10px 8px;
  }

  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-image-wrapper img {
    max-height: 82px;
  }

  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-details {
    padding: 8px 10px 12px;
  }

  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-title,
  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-title a {
    min-height: 40px;
    font-size: 15px;
    line-height: 1.2;
  }

  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-title {
    margin-bottom: 8px;
  }

  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .price {
    min-height: 38px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.35;
  }

  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .button,
  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .add_to_cart_button {
    width: min(100%, 184px);
    min-height: 42px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px !important;
  }

  body.archive.woocommerce-page .main-products-loop .products-grid .add_to_cart_button:before,
  .borg-search-results-page .products-grid .add_to_cart_button:before {
    content: none !important;
    display: none !important;
  }

  body.archive.woocommerce-page:not(.search-results) .shop-filters .shop-filters-area {
    gap: 18px;
  }

  body.archive.woocommerce-page:not(.search-results) .shop-filters .sidebar-widget {
    flex-basis: 100%;
    max-width: none;
  }

  body.archive.woocommerce-page:not(.search-results) .shop-filters .sidebar-widget > ul,
  body.archive.woocommerce-page:not(.search-results) .shop-filters .sidebar-widget .menu,
  body.archive.woocommerce-page:not(.search-results) .shop-filters .sidebar-widget .woocommerce-widget-layered-nav-list {
    max-height: 240px;
  }

  .borg-search-results-page .product-image-wrapper {
    height: 150px;
    padding: 34px 10px 10px;
  }

  .borg-search-results-page .product-image-wrapper img {
    max-height: 106px;
  }

  .borg-search-results-page .content-product {
    display: flex;
    flex-direction: column;
  }

  body.archive.woocommerce-page .main-products-loop .products-grid .product-details,
  .borg-search-results-page .products .product-details {
    width: 100%;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 8px 8px 12px;
  }

  body.archive.woocommerce-page .main-products-loop .products-grid .product-title,
  body.archive.woocommerce-page .main-products-loop .products-grid .product-title a,
  .borg-search-results-page .products .product-title,
  .borg-search-results-page .products .product-title a {
    min-height: 0;
    font-size: 13px;
    line-height: 1.18;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  body.archive.woocommerce-page .main-products-loop .products-grid .product-title,
  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-title,
  .borg-search-results-page .products .product-title {
    min-height: 0;
    margin-bottom: 2px;
  }

  body.archive.woocommerce-page .main-products-loop .products-grid .product-title a,
  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product-title a,
  .borg-search-results-page .products .product-title a {
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.archive.woocommerce-page .main-products-loop .products-grid .price,
  .borg-search-results-page .products .price {
    min-height: 66px;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.25;
  }

  body.archive.woocommerce-page .main-products-loop .products-grid .product_brand,
  body.archive.woocommerce-page:not(.search-results) .main-products-loop .products-grid .product_brand,
  .borg-search-results-page .products .product_brand {
    min-height: 0;
    margin-bottom: 3px;
    color: #80898f;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.archive.woocommerce-page .main-products-loop .products-grid .product_brand a,
  body.archive.woocommerce-page .main-products-loop .products-grid .product_brand span,
  .borg-search-results-page .products .product_brand a,
  .borg-search-results-page .products .product_brand span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.archive.woocommerce-page .main-products-loop .products-grid .price .woocommerce-Price-amount,
  body.archive.woocommerce-page .main-products-loop .products-grid .price del,
  body.archive.woocommerce-page .main-products-loop .products-grid .price ins,
  .borg-search-results-page .products .price .woocommerce-Price-amount,
  .borg-search-results-page .products .price del,
  .borg-search-results-page .products .price ins {
    color: #083247;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
  }

  body.archive.woocommerce-page .main-products-loop .products-grid .price .borg-card-price-meta,
  .borg-search-results-page .products .price .borg-card-price-meta {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;
  }

  body.archive.woocommerce-page .main-products-loop .products-grid .price del,
  .borg-search-results-page .products .price del {
    display: block;
    margin-bottom: 2px;
    color: #8a9297;
  }

  body.archive.woocommerce-page .main-products-loop .products-grid .price del .woocommerce-Price-amount,
  .borg-search-results-page .products .price del .woocommerce-Price-amount {
    color: #8a9297;
    font-size: 13px;
    font-weight: 600;
  }

  body.archive.woocommerce-page .main-products-loop .products-grid .price ins,
  .borg-search-results-page .products .price ins {
    display: block;
    text-decoration: none;
  }

  .borg-search-results-page .products .button,
  .borg-search-results-page .products .add_to_cart_button {
    width: min(100%, 124px);
    min-height: 36px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px !important;
    line-height: 1.15;
  }

  .borg-search-results-page .filter-wrap .open-filters-btn a,
  .borg-search-results-page .filter-wrap .etheme-toggle-filter,
  .borg-search-results-page .filter-wrap .filter-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  body.single-product .reh-prc-main-price,
  body.single-product .woocommerce-variation-price {
    min-height: 46px;
    font-size: 22px;
  }

  body.single-product p.price,
  body.single-product .summary .price,
  body.single-product .et_product-block .price {
    font-size: 21px;
  }

  body.single-product p.price .reh-prc-main-price,
  body.single-product .summary .price .reh-prc-main-price,
  body.single-product .et_product-block .price .reh-prc-main-price {
    margin: 8px 0 14px;
    font-size: 21px;
  }

  body.single-product p.price .reh-prc-main-price::before,
  body.single-product .summary .price .reh-prc-main-price::before,
  body.single-product .et_product-block .price .reh-prc-main-price::before {
    font-size: 11px;
  }

  body.single-product .borg-product-price-main {
    font-size: 25px;
  }

  body.single-product .borg-product-price-main del {
    font-size: 17px;
  }

  body.single-product .borg-product-price-old {
    font-size: 12px;
  }

  body.single-product .borg-product-price-meta {
    font-size: 12px;
    margin-bottom: 10px;
  }

  body.single-product .borg-selected-price-value {
    margin: 4px 0 14px;
  }

  body.single-product .bb-unit-conversion-info {
    margin: 8px 0 12px;
    padding: 10px 12px;
    border-left: 3px solid #ffb128;
    background: #f7f9fa;
    font-size: 14px;
  }

  body.single-product .content-page.container,
  body.single-product .page-heading .container,
  body.single-product .breadcrumb-trail .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.single-product .single-product-builder {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.single-product .single-product-builder > .row,
  body.single-product .single-product-builder > .row > .col-md-12 > .row {
    margin-left: 0;
    margin-right: 0;
  }

  body.single-product .single-product-builder > .row > .col-md-12 {
    padding-left: 0;
    padding-right: 0;
  }

  body.single-product .single-product-builder > .row > .col-md-12 > .row {
    display: flex;
    flex-direction: column;
  }

  body.single-product .single-product-builder > .row > .col-md-12 > .row > .etheme-woocommerce-product-gallery {
    display: contents;
  }

  body.single-product .single-product-builder > .row > .col-md-12 > .row > .etheme-woocommerce-product-gallery > * {
    order: 4;
    width: 100%;
  }

  body.single-product .single-product-builder > .row > .col-md-12 > .row > .etheme-woocommerce-product-gallery .woocommerce-product-gallery {
    order: 1;
    width: 100%;
  }

  body.single-product .single-product-builder > .row > .col-md-12 > .row > .etheme-woocommerce-product-gallery .empty-space,
  body.single-product .single-product-builder > .row > .col-md-12 > .row > .etheme-woocommerce-product-gallery .vertical-thumbnails-wrapper {
    order: 1;
  }

  body.single-product .single-product-builder > .row > .col-md-12 > .row > .et_product-block:not(.etheme-woocommerce-product-gallery) {
    order: 5;
    width: 100% !important;
  }

  body.single-product .single-product-builder > .row > .col-md-12 > .row > .et_product-block:has(.product_title) {
    display: contents;
  }

  body.single-product .single-product-builder > .row > .col-md-12 > .row > .et_product-block:has(.product_title) > * {
    order: 2;
    width: 100%;
    box-sizing: border-box;
  }

  body.single-product .single-product-builder > .row > .col-md-12 > .row > .et_product-block:has(.product_title) form.cart {
    order: 2;
  }

  body.single-product .single-product-builder > .row > .col-md-12 > .row > .et_product-block:has(.product_title) .single-wishlist,
  body.single-product .single-product-builder > .row > .col-md-12 > .row > .et_product-block:has(.product_title) .single-compare,
  body.single-product .single-product-builder > .row > .col-md-12 > .row > .et_product-block:has(.product_title) .single_product-html_block1,
  body.single-product .single-product-builder > .row > .col-md-12 > .row > .et_product-block:has(.product_title) .sales-booster-safe-checkout,
  body.single-product .single-product-builder > .row > .col-md-12 > .row > .et_product-block:has(.product_title) .product_meta,
  body.single-product .single-product-builder > .row > .col-md-12 > .row > .et_product-block:has(.product_title) .single_product-html_block2,
  body.single-product .single-product-builder > .row > .col-md-12 > .row > .et_product-block:has(.product_title) .single_product-html_block3 {
    order: 4;
  }

  body.single-product .single-product-builder > .row > .col-md-12 > .row > .etheme-woocommerce-product-gallery .single-product-request-quote-wrapper {
    order: 4;
    width: 100%;
  }

  body.single-product .single-product-builder > .row > .col-md-12 > .row > .etheme-woocommerce-product-gallery .woocommerce-tabs {
    order: 3;
    width: 100%;
  }

  body.single-product .cart,
  body.single-product form.cart {
    width: 100%;
  }

  body.single-product form.cart:not(.variations_form),
  body.single-product form.cart .woocommerce-variation-add-to-cart {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 8px 6px;
    align-items: end;
    max-width: 100%;
  }

  body.single-product form.cart.variations_form table.variations,
  body.single-product form.cart.variations_form .single_variation_wrap {
    width: 100%;
  }

  body.single-product form.cart.variations_form table.variations {
    margin-bottom: 12px;
  }

  body.single-product form.cart .quantity,
  body.single-product form.cart .quantity-wrapper,
  body.single-product form.cart .single_add_to_cart_button {
    width: 100%;
  }

  .et_b_header-compare,
  .single-compare,
  .xstore-compare,
  .xstore-compare-single,
  .compare.button,
  a[href*="et-compare-page"],
  [class*="compare-type-"] {
    display: none !important;
  }

  body.single-product form.cart .et_stock,
  body.single-product form.cart .single_add_to_cart_button {
    grid-column: 1 / -1;
  }

  body.single-product form.cart .quantity {
    grid-column: 1;
    width: 82px;
  }

  body.single-product form.cart .quantity-wrapper {
    grid-column: 1;
    min-width: 0;
    width: 82px;
  }

  body.single-product form.cart .quantity-wrapper::before {
    display: none !important;
  }

  body.single-product form.cart .single_add_to_cart_button {
    min-height: 48px;
    margin-top: 10px;
    font-size: 15px;
  }

  body.single-product .bb-product-unit-label {
    grid-column: 2;
    margin: 0;
    align-self: center;
    min-width: 0;
  }

  body.single-product .qty-label {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  body.single-product .bb-product-factor-field {
    width: 100%;
  }

  body.single-product .bb-product-factor-field {
    margin-right: 0;
    text-align: center;
  }

  body.single-product .woocommerce-multi-inventory-inventories-container {
    margin-top: 12px;
    margin-bottom: 14px;
    padding: 12px;
    font-size: 13px;
  }

  body.single-product .woocommerce-multi-inventory-label-text-before {
    margin-bottom: 6px;
  }

  body.single-product .bb-stock-summary-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #d9e0e4;
    background: #fff;
    color: #083247;
    font: inherit;
    font-weight: 700;
    text-align: left;
  }

  body.single-product .bb-stock-summary-action {
    color: #6a7378;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
  }

  body.single-product .woocommerce-multi-inventory-text {
    display: none;
    grid-template-columns: 1fr;
    max-height: 138px;
    margin-top: 8px;
    overflow-y: auto;
    padding-right: 4px;
  }

  body.single-product .woocommerce-multi-inventory-inventories-container.is-open .woocommerce-multi-inventory-text {
    display: grid;
  }
}

.product-image-wrapper,
.single-product .woocommerce-product-gallery {
  position: relative;
}

.borg-campaign-tag-badges {
  position: absolute;
  top: 2px;
  left: 23px;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: auto;
  min-width: 90px;
  max-width: calc(100% - 24px);
  pointer-events: none;
}

body.single-product .woocommerce-product-gallery .borg-campaign-tag-badges {
  top: 24px;
  left: 115px;
  transform: none;
}

body.single-product .woocommerce-product-gallery .utforsaljning-badge.campaign-tag-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 150px;
  padding: 11px 18px;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

.product-image-wrapper > .borg-campaign-tag-badges {
  top: 2px;
  left: 23px;
}

.product-content-image > .borg-campaign-tag-badges {
  display: none !important;
}

body.single-product .related-products .borg-campaign-tag-badges,
body.single-product .upsell-products .borg-campaign-tag-badges,
body.single-product .cross-sell-products .borg-campaign-tag-badges {
  display: none !important;
}

body.single-product .products .borg-campaign-tag-badges,
body.single-product .products .campaign-tag-badge {
  display: none !important;
}

.product-image-wrapper > .borg-campaign-tag-badges:has(+ .sale-wrapper .borg-loop-sale-campaign-badge),
.content-product > .borg-campaign-tag-badges:has(~ .product-image-wrapper .borg-loop-sale-campaign-badge),
.content-product .borg-campaign-tag-badges:has(~ .sale-wrapper .borg-loop-sale-campaign-badge) {
  display: none !important;
}

.borg-has-campaign-badge .new-label,
.borg-has-campaign-badge .sale-wrapper:has(.new-label) {
  display: none !important;
}

.borg-has-campaign-badge .sale-wrapper .onsale.with-percentage:not(.single-sale),
.sale-wrapper .onsale.borg-loop-sale-campaign-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  left: 14px !important;
  right: auto !important;
  width: auto;
  min-width: 108px;
  max-width: calc(100% - 16px);
  min-height: 24px;
  box-sizing: border-box;
  padding: 5px 10px;
  gap: 3px;
  border-radius: 3px;
  background: #d72f2f !important;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  transform: none !important;
  white-space: nowrap;
}

.borg-has-campaign-badge .sale-wrapper .onsale.with-percentage:not(.single-sale) span,
.sale-wrapper .onsale.borg-loop-sale-campaign-badge span {
  display: inline;
  margin: 0;
  font: inherit;
  line-height: inherit;
}

body.single-product .sale-wrapper .onsale.borg-single-sale-campaign-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 128px;
  min-height: 34px;
  box-sizing: border-box;
  padding: 8px 13px;
  border-radius: 3px;
  background: #d72f2f !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.utforsaljning-badge.campaign-tag-badge {
  display: inline-block;
  min-height: 24px;
  min-width: 90px;
  width: auto;
  max-width: 220px;
  box-sizing: border-box;
  padding: 5px 9px;
  border-radius: 3px;
  background: #d72f2f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .product-image-wrapper {
    overflow: hidden !important;
  }

  .product-image-wrapper > .borg-campaign-tag-badges {
    top: 22px !important;
    left: 50% !important;
    z-index: 50 !important;
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    height: 24px !important;
    min-height: 24px !important;
    overflow: visible !important;
    transform: translateX(-50%) !important;
  }

  .product-image-wrapper > .borg-campaign-tag-badges > .utforsaljning-badge.campaign-tag-badge {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    height: 24px !important;
    min-height: 24px !important;
    padding: 0 6px !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: #d72f2f !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-indent: 0 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    overflow: visible !important;
    transform: none !important;
    writing-mode: horizontal-tb !important;
  }

  body.single-product .woocommerce-product-gallery .borg-campaign-tag-badges {
    top: 24px !important;
    left: 10px !important;
    width: auto !important;
    min-width: 118px !important;
    max-width: calc(100% - 20px) !important;
    height: auto !important;
    transform: none !important;
  }

  body.single-product .woocommerce-product-gallery .utforsaljning-badge.campaign-tag-badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 118px !important;
    max-width: 180px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 13px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  .borg-has-campaign-badge .sale-wrapper .onsale.with-percentage:not(.single-sale),
  .sale-wrapper .onsale.borg-loop-sale-campaign-badge {
    display: block;
    left: 8px !important;
    right: auto !important;
    min-width: 0;
    width: max-content;
    max-width: calc(100% - 16px);
    min-height: 0;
    padding: 4px 7px;
    font-size: 10px;
    line-height: 1.05;
    text-align: center;
    transform: none !important;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.single-product .sale-wrapper .onsale.borg-single-sale-campaign-badge {
    min-width: 118px;
    min-height: 32px;
    padding: 7px 11px;
    font-size: 12px;
  }
}
