body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    text-align: center;
    padding: 40px;
    margin: 0;
}

.product-viewer-container {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.spin-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    cursor: grab;
    user-select: none; /* Verhindert das blaue Markieren des Bildes beim Ziehen */
}

.spin-wrapper:active {
    cursor: grabbing;
}

.spin-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none; /* Verhindert das Standard-Verschieben des Bildes im Browser */
}

/* --- Neu: Styling für das Info-Element bei Bild 5 --- */
.hidden-info {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    margin-top: 0;
    background: #eef2f7;
    border-radius: 8px;
}

/* Diese Klasse wird per JavaScript hinzugefügt, wenn Bild 5 erreicht ist */
.hidden-info.show {
    max-height: 150px; /* Genug Platz für den Inhalt */
    opacity: 1;
    margin-top: 15px;
    padding: 15px;
}