.product_table .thead {
  text-align: left;
}

.image_wrapper {
  max-width: 8rem;
  min-width: 8rem;
  max-height: 8rem;
  min-height: 8rem;
  height: 8rem;
  width: 8rem;
}

.thead {
  background-color: #002339;
}

.buttons_wrapper{
  justify-content:end;
}

.thead .th {
  padding: 2rem 0rem 2rem 0rem;
  color: white;
  text-transform: uppercase;
  font-weight: 500;
  display:flex;
  justify-content:center;
}

.thead .th:first-of-type {
  padding: 2rem 2rem 2rem 2rem;
  justify-content:start;
}

.single_product_price {
  color: #4D915E;
  font-weight: 500 !important;
  font-size: 1.15rem;
  line-height: 115%;
}

.cart_single_product .td{
  display:flex;
  justify-content: center;
  align-items:center;
}

.product_quantity_wrapper{
  flex-direction:column;
}

.product_content{
  justify-content:start!important;
}

.single_product_price_bold {
  color: #4D915E;
  font-weight: 600 !important;
  font-size: 1.15rem;
  line-height: 115%;
}

.cart_number {
  background-color: #f7f8f9;
  padding: 11px 15px;
  border-bottom: 2px solid #e82b32;
  border-radius: 0;
  width: 100%;
  height: fit-content;
}

.single_option {
  border-bottom: dotted 0.1rem #939393;
  padding: 0.2rem 0rem;
}

.product_options {
  width: 22rem;
  max-width: 100%;
}

.remove_from_cart {
  cursor: pointer;
}

.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 300;
  line-height: 175%;
}

.checklist li img {
  margin-right: 1rem;
  width: 2rem;
  height: 2rem;
}

.phm_checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.phm_checkbox input[type="checkbox"] {
  display: none;
}

.phm_checkbox label {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 1rem;
  line-height: 155%;
  cursor: pointer;
}

.phm_checkbox label span {
  width: 1.7rem;
  height: 1.7rem;
  min-width: 1.7rem;
  min-height: 1.7rem;
  max-width: 1.7rem;
  max-height: 1.7rem;
  border: 2px solid #333;
  display: inline-block;
  margin-right: 1.5rem;
  position: relative;
  border-radius: 0.2rem;
  line-height: 155%;
}

.phm_checkbox input[type="checkbox"]:checked + label span {
  background-image: url('/images/check.svg');
  background-position: 50% 50%;
  background-size: 80%;
  background-repeat: no-repeat;
}

.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 0px;
  box-sizing: border-box;
}

.form-row {
  display: flex;
  justify-content: space-between;
}

.form-row .form-group {
  flex-basis: 48%;
}

fieldset {
  padding: 1rem 0rem;
}

fieldset:nth-of-type(2) {
  border-top: 10px solid #e5e8eb;
}

fieldset p {
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: block;
  margin-top: 0rem;
}

#company-data-form {
  position: sticky;
  top: 12rem;
}

.cart_summary_sticky_wrapper {
  background-color: white;
  box-shadow: 0rem 0rem 1rem #00000052;
  padding: 1rem 2rem;
  position: sticky;
  bottom: 0;
  width: 100%;
  margin-top: 2rem;
  transition: all 0.4s ease;
}

.cart_summary_icon {
  background-color: #e82b32;
  border: solid 0.1rem #002339;
  border-radius: 100%;
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quantity-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.category-header {
  background-color: #e5e8eb;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
}

.category_tab_wrapper {
  border-bottom: 0.1rem solid white;
}

/* Selektiert das letzte Element mit der Klasse .category_tab_wrapper */
.category_tab_wrapper:nth-last-child(1 of .category_tab_wrapper) {
  border-bottom: none;
}

.category_products_wrapper{
  transition: all 0.5s ease-in-out;
  overflow:hidden;
}

.category-header-sum {
  background-color: #e5e8eb;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: #4D915E;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
  padding-right: 2rem;
  text-align: right;
}

.cart_number {
  background-color: #f7f8f9;
  padding: 11px 15px;
  border-bottom: 2px solid #e82b32;
  border-radius: 0;
  width: 4rem;
  -moz-appearance: textfield;
  appearance: textfield;
  text-align: center;
}

.red_triangle {
  transition: all 0.2s ease-in-out;
}

.quantity-btn {
  background-color: #fff;
  border: 3px solid #e5e8eb;
  padding: 9px 17px;
  cursor: pointer;
  font-size: 16px;
  color: #002339;
}

.cart_number::-webkit-outer-spin-button,
.cart_number::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Für kleinere Bildschirme */
@media screen and (max-width: 900px) {
  footer{
    display:none;
  }
  h1{
    font-size:1rem;
  }
  h1::before{
    content: "Produkte im ";
  }

  h1::after{
    content: ":";
  }

  .responsive_table .thead .tr {
      display: none;
  }

  .thead{
    display:none;
  }

  .product_price_single {
      display: none !important;
  }

  .responsive_table .td::before {
      content: attr(data-label);
      position: absolute;
      left: 0;
      width: 50%;
      padding-left: 15px;
      font-weight: bold;
      text-align: left;
  }

  .responsive_table .image_wrapper {
      text-align: center;
  }

  .product_content {
    grid-column: span 4;
    grid-row: span 2;
  }
  .product_quantity_wrapper {
    grid-column: span 2;
  }
  .single_product_price{
    grid-column: span 2;
  }

  .category-header, .category-header-sum{
    background-color:#001d30;
    color: white;
    padding: 0.5rem 1rem;
  }
  .category-header{
    grid-column: span 4;
  }
  .category-header-sum{
    grid-column: span 2;
  }

  .py-12{
    padding-top:1rem;
    padding-bottom:1rem;
  }

  .category-header-sum .mwst-text{
    color:white;
    text-align:right;
  }

  .image_wrapper {
    max-width: 25%;
    min-width: 25%;
    padding: 0.5rem;
  }

  .product_details_wrapper{
    max-width:75%;
    padding: 1rem 0rem;
  }
  .remove_from_cart{
    display:none;
  }
  .cart_sticky_bar-questions, .cart_sticky_bar-icons{
    display:none;
  }
  .cart_summary_sticky_wrapper .container{
    display:flex;
    flex-direction:column;
    justify-content: center;
  }
  .zwischensumme_wrapper{
    justify-content:space-between;
  }
  .total_price .mwst-text{
    color:grey;
  }
  #offerButton, #cartButton{
    font-size: 0.9rem;
  }

  .buttons_wrapper{
    justify-content:space-between;
  }

  .cart_summary_sticky_wrapper {
    background-color: white;
    box-shadow: 0rem 0rem 1rem #00000052;
    padding: 0.8rem 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    margin-top: 2rem;
    transition: all 0.4s ease;
    left: 0;
  }

  .category-toggle{
    font-size:1rem;
  }
  .category-header-sum{
    font-size:1rem;
  }
}

@media screen and (max-width: 450px) {
  h1{
    font-size:1.2rem!important;
  }
  .product_content {
    grid-column: span 6;
    grid-row: span 1;
  }
  .product_quantity_wrapper {
    grid-column: span 4;
  }
  .cart_single_product {
    padding: 1rem 0rem;
  }
}