.cart {
  padding-top: 40px;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 0px;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
}

.cart-headline {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 10px;
  white-space: nowrap;
}

.cart-headline a {
  text-decoration: none;
  color: #333; /* Dark text color */
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

.cart-headline a:hover {
  color: #ff6600; /* Highlight color on hover */
}


.cart h2 {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #333; /* Dark text color */
}

.cart h3 {
  margin-top: 20px;
  margin-bottom: 20px;
  color: #333; /* Dark text color */
}

.cart p {
  color: #666; /* Medium text color */
  line-height: 1.2;
  margin-top: 0px;
}
.cart-empty {
  text-align: center;
}

.cart a {
  text-decoration: none;
  color: #333; /* Dark text color */
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

.cart a:hover {
  color: #ff6600; /* Highlight color on hover */
}


/* Tabelle für den Warenkorb */
.cart-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.product-column {
  width: 60%;
}
.quantity-column {
  width: 20%;
}
.total-column {
  width: 20%;
}

/* Spaltenüberschriften */
.cart-table thead th {
  text-align: left;
  padding: 10px;
  border-bottom: 2px solid #ff6600;
  font-weight: bold;
}

/* Tabellenzeilen */
.cart-table tbody tr {
  border-bottom: 1px solid #ccc;
}

.cart-table tbody td {
  padding: 15px 10px;
}

/* Horizontale Linien oben und unten */
.cart-table thead,
.cart-table tbody tr:last-child {
  border-bottom: 2px solid #ff6600;
}

.cart-table tfoot td {
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: right;
}



.cart-item {
  display: flex;
  align-items: flex-start; /* Bild und Text oben ausrichten */
}

.cart-product-image {
  width: 100px;
  height: auto;
  margin-right: 20px;
}

.cart-product-info {
  display: flex;
  flex-direction: column; /* Produktname über dem Preis */
}

.cart-product-name {
  font-size: 18px;
  font-weight: bold;
}

.cart-product-price {
  font-size: 16px;
  color: #666;
  margin-top: 10px; /* Abstand zwischen Name und Preis */
}

/* Styling für die Anzahl-Eingabe */
.cart-table input[type="number"] {
  font-size: 20px;
  padding: 2px;
  text-align: left;
}

button {
  padding: 0px;
}

.cart-table i {
  padding-left: 5px;
  font-size: 20px;
  color:#ff6600;
}

form {
  padding: 0px;
  display: inline-block;
}

.cart-item-total {
  font-size: 16px;
  text-align: right;
}


/* Responsive Anpassungen */
@media (max-width: 768px) {
  .cart {
    padding-left: 5px;
    padding-right: 5px;
  }

  .cart-table thead th, .cart-table tbody td {
      font-size: 14px;
      padding: 5px;
  }

  .cart-product-name {
      font-size: 12px;
  }
  
  .cart-product-price {
      font-size: 12px;
  }

  .cart-table input[type="number"] {
      font-size: 18px;
      padding-right: 2px;
  }

  .quantity-column {
    width: 60px;
  }

  .total-column {
    width: 50px;
  }

  .cart-table tfoot td {
    padding-left: 0px;
    padding-right: 0px;
  }

  .cart-table tbody td {
    padding: 5px 0px;
  }
  
  .cart-product-image {
    margin-right: 0px;
  }

  .cart-product-price {
    margin-top: 5px; /* Abstand zwischen Name und Preis */
  }

  i {
    font-size: 18px;
  }
}




