/* styles.css */
.product-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 10px;
}
.product-image {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.product-image img {
    transition: transform 0.3s ease, z-index 0.3 ease;
    width: 50px;
    margin-right: 10px;
    height: auto;
    z-index: 1;
    position: relative;
}

.product-image img.second-image {
    display: none;
    position: absolute;
    left: -400px;
    width: 400px;
    top: -170px;
    height: auto;
    z-index: 100;
}

.product-image img:first-child:hover {
    filter: opacity(50%);
}

.product-image:hover img.second-image {
    display: block;
}

.product-details {
    flex: 1;
}

.product-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.product-actions input[type="text"] {
    width: 50px;
    margin-right: 10px;
}

.product-actions button {
    background-color: #d2a679;
    border: none;
    padding: 5px 10px;
    color: white;
    cursor: pointer;
}

.product-actions button:hover {
    background-color: #b5835d;
}

.add-all-to-cart, .add-all-optional-to-cart{
    background-color: #d2a679;
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    margin-top: 10px;
    display: inline-block;
    text-align: center;
    margin-bottom: 10px;
    
}

.add-all-to-cart:hover, .add-all-optional-to-cart:hover{
    background-color: #b5835d;
}

.calculate-button {
    padding: 8px 16px;
    font-size: 14px;
    background-color: #d2a679;
    color: white;
    border: none;
    cursor: pointer;
}

.calculate-button:hover {
    background-color: #b5835d;
}

.response {
    margin: 5px 0;
}

.product-quantity-header {
    font-weight: bold;
    margin-top: 20px;
}

.laufmeter-anzeige {
    font-weight: bold;
    margin-top: 70 px;
}

.product-quantity {
    margin-top: 10px;
}

.laufmeter-input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    color: #333;
}

.laufmeter-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.optional-anzeige {
    font-weight: bold;
    margin-bottom: 20px;
}

.preis-anzeige {
    margin-top: 20px;
}

.hidden {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.visible {
    opacity: 1;
    transition: opacity 0.5s ease-out;
}