/**
 * Krimphove Catering - Zusätzliche Styles
 * Markenfarbe: #173876
 */

/* Warenkorb-Button Globale Styles */
.add-to-cart-btn {
    background: #173876;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

/* Icon im Button */
.add-to-cart-btn::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="white"><path d="M34 14H32V12C32 7.58 28.42 4 24 4C19.58 4 16 7.58 16 12V14H14C11.79 14 10 15.79 10 18V38C10 40.21 11.79 42 14 42H34C36.21 42 38 40.21 38 38V18C38 15.79 36.21 14 34 14ZM24 8C26.21 8 28 9.79 28 12V14H20V12C20 9.79 21.79 8 24 8ZM34 38H14V18H16V22C16 23.1 16.9 24 18 24C19.1 24 20 23.1 20 22V18H28V22C28 23.1 28.9 24 30 24C31.1 24 32 23.1 32 22V18H34V38Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.add-to-cart-btn:hover {
    background: #0f2856;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(23, 56, 118, 0.3);
}

.add-to-cart-btn:disabled {
    background: #95a5a6 !important;
    cursor: not-allowed;
    transform: none !important;
    opacity: 0.6;
}

/* "Im Warenkorb" State */
.add-to-cart-btn.added-to-cart {
    background: #27ae60 !important;
    cursor: default !important;
    pointer-events: none;
}

/* Checkmark Icon bei "Im Warenkorb" */
.add-to-cart-btn.added-to-cart::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
}

/* Paket-Button */
.add-package-btn {
    background: #173876;
    padding: 14px 28px;
    font-size: 18px;
}

.add-package-btn:hover {
    background: #0f2856;
}

/* Benachrichtigungen */
.krimphove-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #173876;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(23, 56, 118, 0.4);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

.krimphove-notification.success {
    background: #27ae60;
}

.krimphove-notification.error {
    background: #e74c3c;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mindestbestellmenge Warnung */
.min-quantity-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    color: #856404;
}

.min-quantity-warning strong {
    color: #173876;
}

/* Paket-Konfigurator */
.package-configurator {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.config-section {
    margin-bottom: 25px;
}

.section-title {
    color: #173876;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.package-persons-input {
    padding: 10px 15px;
    border: 2px solid #173876;
    border-radius: 5px;
    font-size: 16px;
    width: 100px;
}

.package-product-checkbox {
    margin-right: 10px;
    accent-color: #173876;
}

.product-item {
    display: block;
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 5px;
}

.product-item:hover {
    background: rgba(23, 56, 118, 0.05);
}

.min-qty-badge {
    font-size: 11px;
    color: #666;
    font-weight: normal;
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
}

.selection-info {
    font-weight: 600;
    color: #173876;
    margin-bottom: 15px;
}

.price-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 5px;
    margin-top: 20px;
    border: 2px solid #173876;
}

.price-label {
    font-size: 18px;
    font-weight: 600;
    color: #173876;
}

.package-total-price {
    font-size: 24px;
    font-weight: bold;
    color: #173876;
}
