/* ========================== */
/* Allgemeine Einstellungen */
/* ========================== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #f5ed4d; /* Gelber Hintergrund */
}

/* ========================== */
/* Header */
/* ========================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.9);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
    font-size: 16px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ========================== */
/* Checkout-Container */
/* ========================== */

/* Hauptcontainer für Checkout */
.checkout-container {
    flex: 1; /* Dies sorgt dafür, dass der Inhalt den verfügbaren Platz einnimmt */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

/* Checkout-Box */
.checkout-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    text-align: center;
}

/* Warenkorb-Liste */
.cart-items {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 🛍 Überschrift für den Warenkorb */
.cart-items h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
}

/* 📜 Liste der Warenkorb-Elemente */
#checkout-cart-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 🛒 Jedes Produkt in einer Zeile mit flexibler Breite */
#checkout-cart-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 🗑 Entfernen-Button */
.remove-item {
    background: none;
    border: none;
    cursor: pointer;
    color: red;
    font-size: 18px;
    padding: 5px;
}

.remove-item:hover {
    color: darkred;
}

/* Zahlungsbutton */
.checkout-btn {
    display: block;
    text-align: center;
    padding: 12px;
    margin-top: 15px;
    background: #e34b3e;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.checkout-btn:hover {
    background: #c0382c;
}

/* ========================== */
/* Footer */
/* ========================== */
/* Footer fixieren */
footer {
    width: 100%;
    background: black;
    color: white;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    margin-top: auto; /* Schiebt den Footer nach unten, wenn wenig Inhalt da ist */
}
.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.footer-logo img {
    width: 100px;
    margin-bottom: 10px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: bold;
}

.footer-section a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 5px;
}

.footer-section a:hover {
    color: #f5ed4d;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons i {
    font-size: 30px;
    color: white;
}

.social-icons i:hover {
    color: #f5ed4d;
}

/* ========================== */
/* Responsive Design */
/* ========================== */
@media (max-width: 768px) {
    .checkout-box {
        max-width: 90%;
    }

    .cart-items {
        padding: 10px;
    }

    #checkout-cart-items li {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}
