/* ==== SHOP STYLES ==== */

/* Marginal upp till header */

.out-of-stock,
.woocommerce div.product .related.products .out-of-stock {
  font-weight: 700;
  background: #fff;
  padding: 7px;
  display: block;
  color: #860331;
  position: absolute;
  bottom: 0px;
  border: solid 1px #860331;
  border-radius: 3px;
  width: 100%;
  text-align: center;
}

.woocommerce div.product .out-of-stock {
  display: inline-block;
  position: relative;
  color: #860331;
  width: 50%;
}

.woocommerce article,
.woocommerce-page article {
  /*margin-top: 50px;*/
  /*max-width: 1500px;*/
  width: 100%;
  /*width: 83.333333%;
    left: 8.333333%;
    margin: 0 auto;
    padding-left: 3rem;
    padding-right: 3rem;*/
}
.product-template-default.woocommerce article,
.product-template-default.woocommerce-page article {
  margin-top: 50px;
  max-width: 1500px;
  width: 100%;
  width: 83.333333%;
  left: 8.333333%;
  margin: 0 auto;
  padding-left: 3rem;
  padding-right: 3rem;
}

.woocommerce article h2.entry-title a:link,
.woocommerce-page article h2.entry-title a:link,
.woocommerce-cart article h2.entry-title a:link,
.woocommerce-checkout article h2.entry-title a:link,
.woocommerce article h2.entry-title a:visited,
.woocommerce-page article h2.entry-title a:visited,
.woocommerce-cart article h2.entry-title a:visited,
.woocommerce-checkout article h2.entry-title a:visited {
  color: #a8ab81;
}

.woocommerce-cart .post-134 h2.entry-title {
  padding-top: 3rem !important;
  font-size: 4rem;
}

/*.related.products h2 {font-size: 1.5rem;}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  color: #4d4d4d;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}*/

.woocommerce-page article.post-133 .entry-header {
  display: none;
}

.woocommerce-cart article,
.woocommerce-checkout article {
  margin-top: 50px;
  max-width: 1500px;
  width: 100%;
  left: 0%;
  margin: 0 auto;
  padding-left: 0rem;
  padding-right: 0rem;
}

.woocommerce .site-main,
.woocommerce-page .site-main {
  padding-top: 124px;
}

/* Produktbilder, lista */
.woocommerce ul.products li.product a img {
  width: inherit;
  margin: 0 auto;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 1px solid #a8ab81;
  background-color: #f6f7f3;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-bottom: 1px solid #a8ab81;
}

span.sku_wrapper {
  display: none;
}

.woocommerce-Tabs-panel {
  background-color: #f6f7f3;
  padding: 3rem !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  list-style: none;
  padding: 0 0 0 1em;
  margin: 0 0 0em;
  overflow: hidden;
  position: relative;
}

.woocommerce table.shop_attributes tr:nth-child(even) td,
.woocommerce table.shop_attributes tr:nth-child(even) th {
  background: rgba(0, 0, 0, 0.055);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #f6f7f3;
  z-index: 2;
  border-bottom-color: #f6f7f3;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 1px solid #a8ab81;
  background-color: #fff;
}

/* Knappar */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  color: #ffffff;
  background-color: #860331;
  font-style: normal;
  height: auto;
  line-height: 1;
  transition: background-color 300ms ease 0ms;
}

.woocommerce .cart_totals .checkout-button.button {
  height: inherit;
}

.woocommerce .coupon .button {
  height: 34px;
}

.woocommerce div.product form.cart {
  margin-bottom: 0;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: #a8ab81;
  text-decoration: none;
  color: #fff;
}

/* Rubriker, lista */
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
  font-size: 1.5em;
}

/* Pris, lista */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  /*float: left;
    margin: 0 3.8% 2em 0;
    padding: 0;
    position: relative;
    width: 29.05%;
    margin-left: 0;*/
}
.woocommerce ul.products li.product .price {
  color: #4e524b;
  font-size: 0.925em;
}

.woocommerce .products ul li,
.woocommerce ul.products li {
  position: relative;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  margin-bottom: 100px;
  /* height: 560px; */ /* Flyttat till woocommerce-Price-amount nedan */
}

.woocommerce ul.products li.product .woocommerce-Price-amount {
  min-height: 100%;
  display: block;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  height: fit-content;
}

.woocommerce .products ul li button,
.woocommerce ul.products li button {
  width: 100%;
}
/*.woocommerce ul.products li .quantity,*/
.quantitytext {
  width: 100%;
}
.quantitytext .quantity {
  display: inline;
}
.woocommerce ul.products li.product .price .amount div,
.entry-summary div:nth-child(3),
.entry-summary div:nth-child(5) {
  padding-bottom: 1em;
  font-style: italic;
}
.woocommerce ul.products li.product .price .amount div:nth-child(1) {
  font-style: italic;
}
.woocommerce ul.products li.product .price ul li,
.entry-summary ul li {
  padding-bottom: 5px;
  list-style: disc inside;
}

.woocommerce .products ul,
.woocommerce ul.products {
  /*display: inline-flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    justify-content: flex-start;*/
  /* flex-direction: row; */
}

/* Postnummer-rutan */
.shop-postalcode-box {
  padding: 3rem;
  border-color: #f6f7f3;
  color: #a8ab81;
  background-color: #f6f7f3;
  margin-bottom: 50px;
}
.alert {
  border-radius: 0rem;
}

.shop-postalcode-box form {
  margin-top: 15px;
}
.postalcode {
  display: block;
  padding-bottom: 5px;
  font-weight: 700;
}
.shop-postalcode-box input {
  width: 200px;
  margin-right: 10px;
  /*height: 30px;
    line-height: 30px;*/
  padding: 5px;
}

.shop-postalcode-box .submit {
  color: #ffffff;
  background-color: #860331;
  font-style: normal;
  font-size: 100%;
  margin: 0;
  line-height: 1;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  overflow: visible;
  /* padding: .618em 1em; */
  font-weight: 700;
  border-radius: 0px;
  /*height: 30px;
    line-height: 30px;*/
  padding: 7px 15px 8px;
  transition: background-color 300ms ease 0ms;
}

/* Titel på produktsidor */
.woocommerce .entry-header {
  margin-bottom: 20px;
}

.woocommerce-page .entry-header h1,
.woocommerce .entry-header h1 {
  color: var(--text-color-black);
}

/* Produktsidan - första produktbild */
.woocommerce div.product div.images.woocommerce-product-gallery {
  border: 1px solid #eee;
  padding: 40px 0;
}

.woocommerce div.product div.images img {
  width: inherit;
  margin: 0 auto;
}
.woocommerce div.product .related.products form.cart div.quantity {
  float: none;
}

.quantitytextsingle {
  width: 91px;
  float: left;
  padding-top: 8px;
}

/* Välj antal */
.woocommerce .quantity .qty {
  height: 34px;
  width: 100%;
  max-width: 5rem;
}

.quantity input {
  padding: 0;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.woocommerce .summary ul {
  padding-left: 0px;
}

.woocommerce div.product .woocommerce-tabs .panel {
  padding-top: 10px;
}

.woocommerce .related.products {
  padding-top: 20px;
}

.cart-icon {
  display: flex;
}

.cart-contents {
  margin-right: 5px;
}
.cart-icon a:link,
.cart-icon a:visited {
  color: #a8ab81;
}
.cart-icon a:hover {
  color: #860331;
}
.cart-contents:before {
  font-family: WooCommerce;
  content: "\e01d";
  content: url(../images/icon-cart-vida.svg);
  width: 20px;
  height: 20px;

  font-size: 20px;
  margin-top: 10px;
  font-style: normal;
  font-weight: 400;
  padding-right: 0px;
  vertical-align: bottom;
  position: absolute;
  top: -13px;
  left: 6px;
}
.cart-contents:hover {
  text-decoration: none;
}
.cart-contents-count {
  color: #fff;
  background-color: #a8ab81;
  font-weight: bold;
  border-radius: 10px;
  padding: 1px 6px;
  line-height: 1;
  font-family: Arial, Helvetica, sans-serif;
  vertical-align: top;
  font-size: 12px;
}

.woocommerce-message {
  border-top-color: #a8ab81;
}
.woocommerce-message::before {
  color: #a8ab81;
}
.woocommerce a.remove {
  color: #860331 !important;
}
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  border-top: 3px solid #860331;
  background-color: #f6f7f3;
}
.woocommerce-error::before {
  color: #860331;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
  padding: 8px 6px 6px;
  min-width: 88px;
}

.cart-contents:before {
  /*top: -13px;
    left: 3px;*/

  /*top: -3px;*/
  left: -25px;
}
.woocommerce-info::before {
  color: #a8ab81 !important;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
  top: 1.2em !important;
}

/*KLARNA*/
#kco-order-review .woocommerce-input-wrapper {
  width: 100%;
}

#preview a:link {
  color: #860331 !important;
  font-family: Arial, Helvetica, sans-serif;
}
#preview a:hover {
  color: #a8ab81 !important;
}
/*#kco-wrapper #kco-order-review,
#kco-wrapper #kco-iframe {
    width: 100%;
    float: none;
    clear: both;
}*/

@media only screen and (max-width: 767px) {
  .cart-contents:before {
    /*top: -13px;
    left: 3px;*/

    /*top: -3px;*/
    left: 2px;
  }
  .woocommerce .woocommerce-message .button {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
  }

  .woocommerce-cart .post-134 h2.entry-title {
    padding-top: 1.5rem !important;
    font-size: 2rem;
  }
  .shop-postalcode-box {
    padding: 1.5rem;
  }
  .woocommerce ul.products[class*="columns-"] li.product,
  .woocommerce-page ul.products[class*="columns-"] li.product {
    width: 98%;
    margin: 0 0 2.992em;
  }

  .shop-postalcode-box input {
    width: 100%;
    margin-right: 0px;
    margin-bottom: 10px;
  }
  .shop-postalcode-box .submit {
    width: 100%;
  }
  .product-template-default.woocommerce article,
  .product-template-default.woocommerce-page article {
    margin-top: 50px;
    max-width: 1500px;
    width: 100%;
    width: 100%;
    left: 1.333333%;
    margin: 0 auto;
    padding-left: 2.2rem;
    padding-right: 2.2rem;
  }
  .woocommerce-Tabs-panel {
    padding: 1.5rem !important;
  }

  .woocommerce .coupon button.button {
    font-size: 85%;
  }

  .coupon a.button {
    float: left !important;
    width: 100% !important;
    margin-top: 10px;
    text-align: center;
  }
}
