/*
 * Theme Name: SimpleStrap
 * Description: SimpleStrap with timber :)
 * Version: 2.0
 * Author: Simpleness
*/

/* Styles for Walley checkout  */
#collector-wrapper #collector_change_payment_method {
  display: none;
}

#collector-wrapper .collector-checkout-tabs {
  max-width: 30rem;
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
  background: white;
  box-shadow: 0 0.25rem 1.125rem 0.1875rem #0000000f,
    0 0.625rem 0.875rem 0.0625rem #00000014,
    0 0.375rem 0.375rem -0.1875rem #00000024;
  margin-top: 60px;
  margin-bottom: 20px;
  position: relative;
}

#collector-wrapper .collector-checkout-tabs::before {
  content: "Kundetype";
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: anywhere;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
  position: absolute;
  top: -45px;
  left: 00;
}

#collector-wrapper .woocommerce-checkout-review-order-table thead,
#collector-wrapper .woocommerce-checkout-review-order-table tbody {
  display: none;
}

#collector-wrapper .woocommerce-checkout-review-order-table tfoot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

#collector-wrapper .shop_table tfoot > tr {
  display: flex;
  justify-content: stretch;
  width: 100% !important;
}
#collector-wrapper .shop_table tfoot > tr td {
  flex: 1 0 auto;
  text-align: right;
}

#collector-wrapper .woocommerce-checkout-review-order-table tfoot td,
#collector-wrapper .woocommerce-checkout-review-order-table tfoot th {
  border: none !important;
}

#collector-wrapper .shipping-header {
  order: -2;
}
#collector-wrapper .shipping-header td {
  text-align: left !important;
}

#collector-wrapper .includes_tax {
  display: block;
  line-height: 1.1;
}

#collector-wrapper .woocommerce-shipping-totals {
  margin-bottom: 20px;
  order: -1;
  width: 100% !important;
}
#collector-wrapper .woocommerce-shipping-totals td {
  text-align: left !important;
}
#collector-wrapper .woocommerce-shipping-totals th {
  display: none;
}
@media (min-width: 768px) {
  #collector-wrapper .shop_table tfoot > tr:not(.shipping) {
    width: 50% !important;
  }
  #collector-wrapper .woocommerce-checkout-review-order-table tfoot td,
  #collector-wrapper .woocommerce-checkout-review-order-table tfoot th {
    border: none !important;
  }
  #collector-wrapper .woocommerce-shipping-totals {
    margin-bottom: 60px;
  }
}

/* Fibosearch: Fix fibosearch height */
.dgwt-wcas-search-wrapp {
  min-height: auto !important;
}
/* Fibosearch: Hide all results link */
.js-dgwt-wcas-suggestion-more {
  /*display: none !important; */
}

/* Fibosearch: fix mobile styles */
@media (max-width: 767px) {
  .dgwt-wcas-search-wrapp {
    min-width: auto !important;
  }
  .main-header .main-header__search {
    background: transparent;
    max-width: 40px;
  }
}

/* Fibosearch: styling */
.dgwt-wcas-open
  .dgwt-wcas-sf-wrapp
  input[type="search"].dgwt-wcas-search-input {
  border-color: #007565;
}
.dgwt-wcas-st-title {
  color: #007565;
  font-weight: bold;
}
.dgwt-wcas-sp {
  color: #007565;
  display: flex;
  gap: 5px;
  line-height: 130%;
}
@media (min-width: 768px) {
  div.main-header__search {
    max-width: 500px;
    width: 35vw;
  }
}
