/* Rabatt-Styles für Produktseiten */

/* Container für Originalpreis und Rabatt-Badge */
.price-discount-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

/* Durchgestrichener Originalpreis */
.price-original {
    font-size: 16px;
    color: #666;
    text-decoration: line-through;
    font-weight: normal;
}

/* Rabatt-Badge */
.price-discount-badge {
    background-color: #ef770b;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
}

/* Reduzierter Preis - hervorgehoben */
.price-reduced {
    color: #ef770b !important;
    font-weight: bold !important;
}

/* Ersparnis-Anzeige */
.price-savings {
    font-size: 12px;
    color: #28a745;
    font-weight: bold;
    margin-top: 3px;
}

/* Responsive Anpassungen für mobile Geräte */
@media (max-width: 768px) {
    .price-discount-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
    
    .price-original {
        font-size: 14px;
    }
    
    .price-discount-badge {
        font-size: 11px;
        padding: 1px 4px;
    }
    
    .price-savings {
        font-size: 11px;
    }
}

/* Warenkorb-Rabatt-Styles */
.cart-item-discount {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-original-price {
    font-size: 12px;
    color: #666;
    text-decoration: line-through;
}

.cart-discount-info {
    font-size: 11px;
    color: #28a745;
    font-weight: bold;
}

.cart-savings {
    font-size: 11px;
    color: #28a745;
    font-weight: bold;
}

/* Toast-Benachrichtigung für Keksformen-Seiten */
.toast-notification {
    position: fixed;
    right: 20px;
    background-color: #ef770b;
    color: white;
    padding: 12px 16px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
    max-width: 280px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    box-sizing: border-box;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-notification-message {
    margin: 0;
}

/* Responsive Anpassungen für Toast */
@media (max-width: 768px) {
    .toast-notification {
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 13px;
        padding: 12px 15px;
    }
}
