/*
Theme Name: Safos Shop

WooCommerce styles override
*/
.woocommerce-MyAccount-navigation {
  min-height: calc(((100vh + 3rem) - 100px) - 3rem);
  background: #ffffff;
  padding-top: 3rem;
  position: relative;
  width: 22% !important;
  margin-right: 3%;
}

.woocommerce-MyAccount-navigation::before {
  content: '';
  position: absolute;
  background: #ffffff;
  top: 0;
  left: -125%;
  height: 100%;
  width: 125%;
  z-index: 0;
}

.woocommerce-MyAccount-navigation > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-MyAccount-navigation > ul a {
  text-decoration: none;
  width: 100%;
  display: block;
  padding: 10px;
}

.woocommerce-MyAccount-navigation > ul a::before {
  font-family: bootstrap-icons !important;
  padding-right: 10px;
  font-size: 18px;
}

.woocommerce-MyAccount-navigation > ul .is-active {
  background-color: #ffecec;
}

.woocommerce-MyAccount-navigation > ul .is-active a {
  font-weight: 500;
  color: var(--bs-link-hover-color);
}

.woocommerce-MyAccount-navigation > ul .woocommerce-MyAccount-navigation-link--company a::before {
  content: '\F1DD';
}

.woocommerce-MyAccount-navigation > ul .woocommerce-MyAccount-navigation-link--orders a::before {
  content: '\F70D';
}

.woocommerce-MyAccount-navigation > ul .woocommerce-MyAccount-navigation-link--edit-account a::before {
  content: '\F56B';
}

.woocommerce-MyAccount-navigation > ul .woocommerce-MyAccount-navigation-link--adressen a::before {
  content: '\F47F';
}

.woocommerce-MyAccount-navigation > ul .woocommerce-MyAccount-navigation-link--customer-logout a::before {
  content: '\F1C3';
}

:root {
  --woocommerce: #DC0000;
  --wc-green: #7ad03a;
  --wc-red: #DC0000;
  --wc-orange: #ffba00;
  --wc-blue: #2ea2cc;
  --wc-primary: #DC0000;
  --wc-primary-text: white;
  --wc-secondary: #ebe9eb;
  --wc-secondary-text: #515151;
  --wc-highlight: #77a464;
  --wc-highligh-text: white;
  --wc-content-bg: #fff;
  --wc-subtext: #767676;
}

.woocommerce-MyAccount-content {
  padding-top: 3rem;
  width: 75% !important;
}

.woocommerce-message, .woocommerce-info {
  background: #ffffff;
}

.woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last {
  width: 49%;
}

.my-account-address {
  background-color: #ffffff;
  padding: 30px;
  border: 1px solid #CED4DA;
  border-radius: 4px;
  position: relative;
  height: 100%;
  min-height: 300px;
  margin: 0;
}

.my-account-address .delete-address {
  top: 30px;
  right: 30px;
}

.company-menu a.dropdown-toggle::before {
  display: inline-block;
  content: "\F282";
  font-family: bootstrap-icons !important;
  padding: 10px;
  margin-left: 10px;
}

.company-menu a.dropdown-toggle::after {
  display: none;
}

.btn-dark:hover {
  background: #DC0000;
  border: #DC0000 solid 1px;
}

.address-add-btn {
  width: calc(100% - 60px);
  left: 30px;
  bottom: 30px;
}

.address-add-btn a {
  width: 100%;
}

.table th {
  background: #000000;
}

.table td {
  background: #ffffff;
}

.table tr, .table td {
  -webkit-transition: all ease 0.3s;
  transition: all ease 0.3s;
}

.table tr:last-child {
  border-bottom: 0;
  border-color: transparent;
}

.table tr:last-child td:last-child {
  border-bottom-right-radius: 5px;
}

.table tr:last-child td:first-child {
  border-bottom-left-radius: 5px;
}

.table tr:first-child th:first-child,
.table tr:first-child td:first-child {
  border-top-left-radius: 5px;
}

.table tr:first-child th:last-child,
.table tr:first-child td:last-child {
  border-top-right-radius: 5px;
}

.order-heading {
  background-color: #030303;
}

.order-heading h3 {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
}

div[class^='customer-status-'], mark[class^='customer-status-'] {
  border-radius: 4px;
  padding: 10px;
  font-weight: 600;
  font-size: 14px;
  line-height: 150%;
  text-align: center;
}
.customer-status-offene-bestellung {
  color: #003171;
  background: #F2F4F8;
}
.customer-status-auftrag-status {
  color: #4A148C;
  background: #F2F4F8;
}

.customer-status-processing {
  color: #FFAE00;
  background: #FFF7E6;
}

.customer-status-completed {
  color: #2FB182;
  background: #EBF9F4;
}

.customer-status-cancelled {
  color: #DC0000;
  background: #F9EBEB;
}

.woocommerce table.shop_table .wc-item-meta {
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.woocommerce table.shop_table .wc-item-meta li {
  -webkit-box-flex: 35%;
      -ms-flex: 35%;
          flex: 35%;
}

.product-item-img {
  max-height: 120px;
  -o-object-fit: contain;
     object-fit: contain;
}

.address-178 {
  min-height: 178px;
}

.woocommerce .quantity .qty {
  padding-top: 5px;
  padding-bottom: 5px;
}

input#submit.alt.disabled, input#submit.alt.disabled:hover, input#submit.alt:disabled, input#submit.alt:disabled:hover, input#submit.alt:disabled[disabled], input#submit.alt:disabled[disabled]:hover, .woocommerce a.button.alt.disabled, .woocommerce a.button.alt.disabled:hover, .woocommerce a.button.alt:disabled, .woocommerce a.button.alt:disabled:hover, .woocommerce a.button.alt:disabled[disabled], .woocommerce a.button.alt:disabled[disabled]:hover, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover, .woocommerce button.button.alt:disabled, .woocommerce button.button.alt:disabled:hover, .woocommerce button.button.alt:disabled[disabled], .woocommerce button.button.alt:disabled[disabled]:hover, .woocommerce input.button.alt.disabled, .woocommerce input.button.alt.disabled:hover, .woocommerce input.button.alt:disabled, .woocommerce input.button.alt:disabled:hover, .woocommerce input.button.alt:disabled[disabled], .woocommerce input.button.alt:disabled[disabled]:hover {
  background-color: #000000;
}

input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
  background-color: #000000;
  -webkit-transition: all ease 0.3s;
  transition: all ease 0.3s;
  border-radius: 4px;
  font-weight: normal;
}

input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
  background-color: #DC0000;
}

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