/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

/* T-Shirtfarbe-Buttons */
.color-button {
    padding: 12px 20px;
    margin: 10px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 25px;
    transition: background-color 0.3s, transform 0.3s;
    color: white;
    font-weight: bold;
}

/* Farbliche Anpassungen der Buttons für T-SHIRTS (MIT !important ZUR KONFLIKTLÖSUNG) */
/* Wenn dies nicht funktioniert, liegt der Fehler NICHT im CSS der Datei selbst. */
#colorBlue { background-color: #007bff !important; }
#colorYellow { background-color: #ffcc00 !important; color: black !important; }
#colorGreen  { background-color: #228b22 !important; }
#colorOrange { background-color: #ff6600 !important; }
#colorBlack  { background-color: #333 !important; }
#colorWhite  { background-color: #ffffff !important; color: black !important; }
#colorGray   { background-color: #808080 !important; }

/* Hover-Effekt */
.color-button:hover {
    opacity: 0.8;
    transform: scale(1.05);
}


/* Produkt-Detail-Stile (unverändert) */

.product-details {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    margin-top: 20px;
}

.product-image img {
    max-width: 600px;
    height: 600px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.product-info {
    max-width: 50%;
    margin-left: 20px;
}

.product-info h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 16px;
    color: #555;
}

.product-info .color-options {
    margin-top: 20px;
}

/* Galerie-Stile */
.product-gallery {
    padding: 20px;
    margin-top: -80px;
}

.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    flex: 1;
    gap: 0;
    max-width: 550px;
}

.gallery-item img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* T-Shirt Beschreibung */
#product-description {
    font-size: 16px;
    margin-top: 20px;
    color: #555;
    line-height: 1.5;
}

/* ============ Mobile Optimierung ============ */
@media (max-width: 767px) {
    .product-details {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .product-image img {
        max-width: 90%;
        height: auto;
    }

    .product-info {
        max-width: 100%;
        margin: 20px 0 0 0;
    }

    .product-info h1 {
        font-size: 22px;
    }

    .product-info p,
    #product-description {
        font-size: 15px;
    }

    .color-options {
        flex-wrap: wrap;
        justify-content: center;
    }

    .color-button {
        margin: 6px;
        padding: 10px 16px;
        font-size: 15px;
    }

    .product-gallery {
        margin-top: 0;
        padding: 10px;
    }

    .gallery {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .gallery-item {
        max-width: 100%;
    }

    .gallery-item img {
        max-width: 100%;
        height: auto;
    }
}