.storefront-full-width-content.single-product div.product .woocommerce-product-gallery {
  margin-bottom: 0;
}

.storefront-full-width-content.single-product div.product .summary {
  margin-bottom: 0;
}

div.lmp_load_more_button {
  display: none !important;
}

.summary > ul {
  margin: 1em 0 1em 2em;
  padding: 0;
  float: left;
  clear: left;
}

.summary p.price {
  float: right;
  clear: right;
  width: fit-content;
}

#tab-description table td, table th {
  padding: 10px;
}

.onsale {
  position: relative;
}

.color_picker .inline_picker form {
  display: flex;
  flex-wrap: wrap-reverse;
  flex-direction: row-reverse;
  justify-content: space-evenly;
  gap: 1em;
}

@media (min-width: 768px) {
  .onsale {
  	position: absolute;
  }
}

#tab-description > table {
  background-color: #fbf5e1;
  border-radius: 15px;
}
#tab-description > table tr:first-child > :last-child {
  border-top-right-radius: 15px !important;
}
#tab-description > table tr:first-child > :first-child {
  border-top-left-radius: 15px !important;
}
#tab-description > table tr:last-child > :last-child {
  border-bottom-right-radius: 15px !important;
}
#tab-description > table tr:last-child > :first-child {
  border-bottom-left-radius: 15px !important;
}
#tab-description > table:not(.has-background) th {
  background-color: #fbf5e1;
  padding: 10px;
}
#tab-description table.variations th.label {
  padding: 0px;
}
#tab-description > table:not(.has-background) tbody td {
  background-color: #fffff2;
}
#tab-description > table:not(.has-background) tbody tr:nth-child(2n) td {
  background-color: #fdfaf0;
}
#tab-description table.variations, #tab-description table.variations th, #tab-description table.variations td, #tab-description .color_picker {
  background-color: #fffff2 !important;
}

.qib-container div.quantity:not(#qib_id):not(#qib_id) {
  background-color: #fff;
}

#tab-description .small {
  font-size: 75% !important;
}

.summary.entry-summary ul {
  color: #333333;
}

.single-product div.product {
  overflow: unset;
}

.single-product .price_from  {
  margin: 0px !important;
}

.single-product .price {
  width: 100%;
  display: inline-block;
  margin-right: 5px;
  font-weight: 700 !important;
  color: #000 !important;
  padding: 0 !important;
  margin-top: 4px !important;
  margin-bottom: 10px !important;
}

.single-product div.product table.variations .value {
  margin-bottom: 0;
}
.single-product .price .woocommerce-Price-amount.amount:only-child {
  font-size: 30px;
}

.single-product .price .woocommerce-Price-amount.amount {
  font-size: 25px;
}

.price .woocommerce-Price-amount.amount:before {
  content: "";
  margin-right: 0
}

.single-product div.product p.price .nodec {
  letter-spacing: -10px;
}

.added_to_cart.wc-forward {
  display: none !important;
}

del span.woocommerce-Price-amount bdi {
  text-decoration: line-through;
}

div.summary.entry-summary .stock.in-stock {
  font-weight: 400;
}
/*
.single-product div.product .variations_button::before, .single-product div.product .variations_button::after {
  clear: both;
}
*/
.woocommerce-variation p.stock {
  float: left;
}
.woocommerce-variation-price {
  float: right;
}

.single-product div.product .summary .product_title.entry-title {
  float: left;
  display: block;
  margin-bottom: 0px;
  width: calc(100% - 55px);
  font-size: 1.8em;
  font-weight: 500;
}

.storefront-full-width-content .up-sells > h2:first-child, .storefront-full-width-content .related.products > h2:first-child {
  text-align: left;
}

ul.woocommerce-product-attributes.shop_attributes {
  margin: 0;
}

span.woocommerce-product-attributes-item__label {
  font-weight: 500;
}

li.woocommerce-product-attributes-item {
  list-style-type: none;
  margin: 0 0 10px 0;
}

.woocommerce-product-details__short-description ul,
#tab-description ul {
  margin-left: 1em;
}

.woocommerce-product-details__short-description li,
#tab-description li {
  margin-bottom: 5px;
}

#tab-description,
.woocommerce-product-details__short-description {
  clear: both;
  background-color: #F6F9FB;
  padding: 10px;
  border-radius: 20px;
  margin-bottom: 1em;
}

.woocommerce-product-details__short-description p {
  margin-bottom: .8em;
}

.woocommerce-product-details__short-description p:last-of-type {
  margin: 0;
}

.woocommerce-product-details__short-description p:last-of-type ~ ul  {
  margin-top: .8em;
}

.woocommerce-product-details__short-description ul {
  margin-bottom: .8em;
}

p.stars.selected a.active::before, p.stars:hover a::before, p.stars.selected a:not(.active)::before, p.stars.selected a.active::before {
  color: #ffcc00;
}
.woocommerce-pagination {
  float: none;
}

div.woocommerce-Reviews {
	background-color: rgb(0 0 0 / .0125);
}

#reviews ol.commentlist {
  display: flex;
  flex-flow: row-reverse wrap-reverse;
  margin: 0px;
}

div.comment-text div.description p {
  padding: 0px;
  margin: 0px;
}

#reviews .commentlist li time.woocommerce-review__published-date {
  opacity: 1;
}

#reviews ol.commentlist li.review {
  width: 100%;
  padding: 5px;
  margin: 5px;
}

#reviews .commentlist li p.meta time {
  display: inline;
  white-space: nowrap;
}

.woocommerce-pagination  a.page-numbers {
  border-radius: 50%;
  background-color: #6aa1c1 !important;
  color: #fff !important;
  width: 40px;
  height: 40px;
  line-height: 40px;
  padding: 0 !important;
}
.woocommerce-pagination a.page-numbers:hover {
  background-color: #5188a8 !important;
}
.woocommerce-pagination .page-numbers.current {
  background-color: #666 !important;
  color: #fff !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  padding: 0 !important;
}

p.woocommerce-verification-required {
  margin: 0.5em 0 0.5em 0;
  font-size: x-small;
  font-style: italic;
}

#respond {
  border-radius: 20px;
  background-color: transparent;
}

div.woocommerce-Reviews {
  background-color: rgb(0 0 0 / .0125);
  border-radius: 20px;
}



.br_brand_product_container {
  float: right;
  width: 50px !important;
  display: block;
}

.single-product div.product .woocommerce-product-rating {
  margin-bottom: 0;
  clear: left;
  display: table;
  float: unset;
}

.single-product div.product .woocommerce-product-rating .star-rating,
.single-product div.product .woocommerce-product-rating a {
  text-decoration: none;
  font-size: 12px;
  float: unset;
  display: table-cell;
  padding-left: 5px;
}

.single-product div.product form.cart {
  margin-bottom: 1em;
  padding: 0;
}

.woocommerce-tabs {
  padding-bottom: 1em !important;
  padding-top: 1em !important;
}

#tab-additional_information > h2:first-of-type,
#tab-description > h2:first-of-type {
  display: none;
}

.storefront-full-width-content .woocommerce-tabs .panel {
  margin-bottom: 1em !important;
}

p.woocommerce-noreviews::before {
  display: none;
}

p.woocommerce-noreviews {
  background: transparent;
  color: unset;
  border: 0px;
  padding:0px;
}

/* upsells */

.products .product .wlr-product-message {
  display:none !important;
}

.products .product ul li {
  font-weight: 400;
}

/* wlr */

.wlr-product-review-message {
  float: right;
}
.comment-form-comment {
  margin-bottom: 0;
}

.wlr-product-message {
  padding-top: 4px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  padding-bottom: 4px !important;
  margin: 4px;
  float:right;
  font-weight: 400;
  min-width:160px;
  background-color: #F6F6FE;
  text-align: right;
}
.wlr-product-message b {
  font-size: 1.1em;
}

/* variations */

.single_variation_wrap .woocommerce-variation.single_variation {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  max-width: 600px;
  flex-direction: row-reverse;
}
.single_variation_wrap .woocommerce-variation.single_variation .stock {
  margin-left: 0;
  margin-right: 0;
}

.single_variation_wrap .unit {
  font-weight: 400;
  font-size: 1.5em;
  text-transform: lowercase;
  display: inline !important;
}
.product .summary .unit,
.products .product .unit {
  display: none;
}
.single_variation_wrap .woocommerce-variation-availability {
  margin-top: -10px;
  min-width: 150px;
}
.single_variation_wrap .woocommerce-variation-price {
  margin-top: -10px;
}
.single_variation_wrap .woocommerce-variation-price .woocommerce-Price-amount.amount {
  font-weight: 500;
  font-size: 2em !important;
}

a.reset_variations {
  float: right;
  margin-right: 1em;
}

.single-product div.product .variations_button {
  padding-top: 0;
  display: flex;
  max-width: 600px;
  flex-wrap: wrap;
  justify-content: space-around;
}

.variations_button .single_add_to_cart_button.button.alt,
.variations_button .qib-container {
  margin: 4px !important;
}

@media (min-width: 768px) {
  .single-product .content-area
  {
  	width: 90%;
  }

  div.woocommerce-tabs.wc-tabs-wrapper > div:first-child:nth-last-child(n+3),
  div.woocommerce-tabs.wc-tabs-wrapper > div:first-child:nth-last-child(n+3) ~ .woocommerce-Tabs-panel--additional_information {
  	margin-right:15px;
  	width: calc(50% - 15px) !important;
  }

  .woocommerce-tabs.wc-tabs-wrapper {
  	display: flex;
  	flex-wrap: wrap;
  }
  .br_brand_product_container {
  	width: 100px !important;
  }
  .single-product div.product .summary .product_title.entry-title {
  	width: calc(100% - 105px);
  }
}

/* Customize Swatchley */

.swatchly-type-wrap.swatchly-type-label .swatchly-swatch {
  min-height: 25px;
}

/* mark as discount */
.swatchly-discount .swatchly-tooltip span:before {
  clear: both;
  display:block;
  content: "Utgående färg med" '\A' "50% avdrag i kassan";
  padding: 4px;
  font-weight: 500;
  line-height: 1.2em;
  font-size: 0.9em;
  margin-bottom: 10px;
  background: #eee;
  color: #B72619;
  white-space: pre;
  border: 1px #000 solid;
  border-radius:5px;
}
/* mark as new */
.swatchly-new-color .swatchly-content::before {
  content: "ny";
  font-weight: 500;
  color: #fff;
  border-radius: 12px;
  margin-top:-40px;
  margin-left: -28px;
  padding: 0px 3px 2px 3px;
  background-color: blue;
  font-size: 0.7em;
}
/* mark as discount */
.swatchly-discount .swatchly-content::before  {
  content: "%";
  color: #fff;
  font-weight: 500;
  border-radius: 12px;
  margin-top:-39px;
  margin-left: -27px;
  padding: 0px 3px 0px 3px;
  background-color: red;
  font-size: 0.7em;
}
.swatchly-rea .swatchly-content::before  {
  content: "%";
  color: #fff;
  font-weight: 500;
  border-radius: 12px;
  margin-top:-39px;
  margin-left: -27px;
  padding: 0px 3px 0px 3px;
  background-color: red;
  font-size: 0.7em;
}


div.swatchly-swatch {
  box-shadow: 2px 2px 4px #5F6F6F;
}

.swatchly-swatch.swatchly-disabled .swatchly-content::after, .swatchly-swatch.swatchly-nostock .swatchly-content::before, .swatchly-type-image .swatchly-swatch.swatchly-nostock .swatchly-content::after, .swatchly-type-image .swatchly-swatch.swatchly-nostock .swatchly-content::before {
  position: absolute;
  content: "";
  opacity: 1;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 60px;
  width: 100%;
  height: 5px;
  background: #D00;
  left: -30px;
  right: 0px;
  bottom: 0px;
  top: 45%;
  visibility: visible;
  border-radius: 4px;
  box-shadow:1px 1px 5px grey;
  -webkit-box-shadow:1px 1px 5px grey;
  -moz-box-shadow:1px 1px 5px grey;
}
.swatchly-swatch.swatchly-nostock .swatchly-content::after, .swatchly-type-image .swatchly-swatch.swatchly-nostock .swatchly-content::after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.swatchly-swatch.swatchly-nostock .swatchly-content::before, .swatchly-type-image .swatchly-swatch.swatchly-nostock .swatchly-content::before {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.swatch-compare:before {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: inherit;
  vertical-align: baseline;
  content: "";
  margin-right: .5407911001em;
}
.swatch-compare {
  float: right;
  cursor: pointer !important;
}

.swatchly-swatch.swatchly-selected {
  color: #000;
  font-weight: 500;
  box-shadow: 0px 0px 0px 4px rgba(99,20,100,0.85);
  border-color: #fff !important;
  min-width: 60px;
  min-height: 60px;
}

/* product sharing and external links */

.external_pattern_links ul li.pattern a:before {
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  content: "\f518";
}
.external_pattern_links ul li.pattern a:hover:before {
  background-color: #9F8C76;
}
.external_pattern_links ul li:hover #sandnes_tooltip {
  visibility: visible;
  width: 250px;
  margin-left: -125px;
  opacity: 1;
}
.external_pattern_links ul li:hover #jarbo_tooltip {
  visibility: visible;
  width: 200px;
  margin-left: -100px;
  opacity: 1;
}
.external_pattern_links ul li.ravelry a:before {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 20px;
  line-height: 10px;
  content: "r";
}
.external_pattern_links ul li.ravelry a:hover:before {
  background-color: #DD7667;
}
.external_pattern_links ul li:hover #ravelry_tooltip {
  visibility: visible;
  width: 150px;
  margin-left: -75px;
  opacity: 1;
}
.storefront-product-sharing ul li.facebook a:before {
  content: "\f39e";
}
.storefront-product-sharing ul li.facebook a:hover:before {
  background-color: #3b5998;
}
.storefront-product-sharing ul li.twitter a:before {
  content: "\f099";
}
.storefront-product-sharing ul li.twitter a:hover:before {
  background-color: #1DA1F2;
}
.storefront-product-sharing ul li.pinterest a:before {
  content: "\f231";
}
.storefront-product-sharing ul li.pinterest a:hover:before {
  background-color: #E60023;
}
.storefront-product-sharing ul li.email a:before {
  font-weight: 400;
  font-family: "Font Awesome 5 Free";
  content: "\f0e0";
}
.storefront-product-sharing ul li.email a:hover:before {
  background-color: #0504aa;
}
.storefront-product-sharing ul li.link a:before {
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  content: "\f0c1";
}
.storefront-product-sharing ul li.link a:hover:before {
  background-color: #800080;
}

.storefront-product-sharing ul li:hover #link_tooltip {
  visibility: visible;
  opacity: 1;
}

.storefront-product-sharing ul li:hover #twitter_tooltip {
  visibility: visible;
  opacity: 1;
}

.storefront-product-sharing ul li:hover #facebook_tooltip {
  visibility: visible;
  opacity: 1;
}

.storefront-product-sharing ul li:hover #pinterest_tooltip {
  visibility: visible;
  opacity: 1;
}

.storefront-product-sharing ul li:hover #email_tooltip {
  visibility: visible;
  opacity: 1;
}

.external_pattern_links .more_tooltip,
.storefront-product-sharing .sharing_tooltip {
  visibility: hidden;
  width: 120px;;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 6px;
  position: absolute;
  z-index: 1;
  bottom: 120%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
  font-size: small;
}

.external_pattern_links .more_tooltip:after,
.storefront-product-sharing .sharing_tooltip:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.external_pattern_links ul,
.storefront-product-sharing ul {
  margin: 0; }
.external_pattern_links ul::before, .external_pattern_links ul::after,
.storefront-product-sharing ul::before, .storefront-product-sharing ul::after {
  content: '';
  display: table; }
.external_pattern_links ul::after,
.storefront-product-sharing ul::after {
  clear: both; }
.external_pattern_links ul li,
.storefront-product-sharing ul li {
  position: relative;
  float: right;
  padding-left: 3px;
  padding-right: 3px;
  text-align: center;
}
.external_pattern_links ul li a,
.storefront-product-sharing ul li a {
  display: block;
}
.external_pattern_links ul li a:before,
.storefront-product-sharing ul li a:before {
  font-family: "Font Awesome 5 Brands";
  width: 12px;
  height: 12px;
  border-radius: 36px;
  padding: 10px;
  color: #fff;
  display: block;
  margin: 0 auto .007em;
  font-size: 12px;;
  transition: all, ease, .2s;
  background-color: #777;
}
.external_pattern_links {
  width: fit-content;
  float: right;
}
.storefront-product-sharing {
  width: fit-content;
}
.external_pattern_links ul,
.storefront-product-sharing ul {
  margin-left: 0; 
}
.external_pattern_links ul li,
.storefront-product-sharing ul li {
  list-style: none; 
}

@media (max-width: 768px) {
  .external_pattern_links ul,
  .storefront-product-sharing ul {
  	padding: 7px;
  	height: 50px;
  }
}

.cwginstock-panel-body input[type="text"], .cwginstock-panel-body input[type="email"] {
  margin-bottom: 0px;
}

.cwginstock-subscribe-form .panel-heading {
  padding: 0;
  border-bottom: 0;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.panel-heading h4 {
  display: none;
}

.cwginstock-subscribe-form .panel-primary {
  border-color: unset;
  margin: 0;
  border: 0;
  clear: left;
  -webkit-box-shadow: unset;
  box-shadow: unset;
  display: flex;
  align-items: center;
  position: relative;
}

.cwgstock_output {
  flex-basis: 100%;
}

div.form-group.center-block {
  position: relative;
}

div.form-group.center-block:nth-of-type(1)::before {
  content: "\f0e0";
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: 20px;
  vertical-align: baseline;
  background-color: #6aa1c1;
  padding: 5px;
  border-radius: 20px;
  width: 20px;
  font-size: 14px;
  height: 20px;
  text-align: center;
  position: absolute;
  left: 6px;
  top: 5px;
}

.cwginstock-subscribe-form .row {
  margin: 0px;
}

.cwginstock-subscribe-form .panel-primary > .panel-heading {
  color: #000;
  background-color: transparent;
  border-color: transparent;
}

.cwginstock-subscribe-form .panel-body {
  padding: 0;
}

.cwginstock-subscribe-form {
  clear: both;
}

.form-group.center-block input {
  border-radius: 6px;
}

.cwginstock-panel-body input[type="email"] {
  height: 40px;
  font-size: 14px;
  border: 1px #c5c5c5 solid;
  -webkit-appearance: none;
  box-sizing: border-box;
  font-weight: 400;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.125);
  color: #43454b; 
  min-width: 300px;
  padding-left: 42px;
}

.stock.in-stock,
.stock.out-of-stock {
  margin: 1em;
}
.cwginstockerror,
.cwginstocksuccess {
  padding: 10px;
  font-weight: 500;
  color: #333 !important;
  background-color: #fffff3;
  border: 1px dotted #aaa;
  border-radius: 5px;
  text-align: left;
  padding: 20px;
  margin: 0px 5px 10px 5px;
}
.cwginstock-subscribe-form .blockOverlay {
  filter: alpha(opacity=30);
  -moz-opacity: .3;
  -khtml-opacity: .3;
  opacity: .3;
  border-radius: 5px;
}

.woocommerce-variation-add-to-cart-disabled > .qib-container {
  cursor: not-allowed;
}
.woocommerce-variation-add-to-cart-disabled > .qib-container input,
.woocommerce-variation-add-to-cart-disabled > .qib-container .qib-button {
  pointer-events: none;
  color: #ccc !important;
}

.cwgstock_email {
  text-align:left !important;
  background-color: #f7fbfd !important;
}

.cwgstock_button {
  height: 40px;
  border-radius: 6px !important;
}

.cwginstock-subscribe-form .col-md-12 {
  width: auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  padding: 0;
  margin: 0;
  justify-content: start;
  margin-left: -2px;
}

.cwginstock-subscribe-form .center-block {
  display: block;
  margin: 4.5px;
  margin-top: 0px;
}
#cwginstock-wrapper .cwginstock-subscribe-form {
  margin-top: 3.5px;
}

#cwginstock-wrapper {
  flex-basis: 100%;
}

.single_variation_wrap .panel.panel-primary.cwginstock-panel-primary {
  margin: 0px;
}

label[for=farg] {
  display:none;
}
.summary label[for=farg] {
  display:block;
}
