/* Pizza Customization Styles */
.pizza-preview {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    position: sticky;
    top: 20px;
}

.pizza-preview img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.pizza-preview img:hover {
    transform: scale(1.05);
}

.pizza-info {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    color: #333;
}

.total-display {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 1rem;
    border: 2px solid #ff6b35;
    color: #333;
    font-weight: bold;
}

.customization-options {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.customization-options::-webkit-scrollbar {
    width: 6px;
}

.customization-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.customization-options::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 3px;
}

.form-check {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.form-check:hover {
    border-color: #ff6b35;
    background: #fff5f5;
}

.form-check-input:checked ~ .form-check-label {
    color: #ff6b35;
    font-weight: 600;
}

.form-check-input:checked {
    background-color: #ff6b35;
    border-color: #ff6b35;
}

.form-check-label {
    width: 100%;
    cursor: pointer;
    margin-bottom: 0;
    color: #333;
    font-weight: 500;
}

.crust-options .form-check {
    border-left: 4px solid #ff6b35;
}

.quantity-selector .input-group {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-selector .btn {
    border: none;
    background: #ff6b35;
    color: white;
    font-weight: bold;
}

.quantity-selector .btn:hover {
    background: #e55a2b;
}

.quantity-selector .form-control {
    border: none;
    background: white;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.customize-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.customize-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    color: white;
}

.customize-btn:active {
    transform: translateY(0);
}

.pizza-card {
    position: relative;
    overflow: hidden;
}

.pizza-card .card-body {
    position: relative;
    z-index: 2;
}

.pizza-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 107, 53, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.pizza-card:hover::before {
    opacity: 1;
}

.pizza-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pizza-actions .btn {
    flex: 1;
}

@media (max-width: 768px) {
    .pizza-preview {
        position: static;
        margin-bottom: 2rem;
    }
    
    .customization-options {
        max-height: none;
    }
    
    .pizza-actions {
        flex-direction: column;
    }
    
    .pizza-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}